Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
V
VTK Examples
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
VTK
VTK Examples
Commits
27b25ab4
Commit
27b25ab4
authored
7 years ago
by
Bill Lorensen
Browse files
Options
Downloads
Patches
Plain Diff
ENH: Successfully created tarballs
parent
9f12bde0
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
src/Admin/ScrapeRepo
+5
-5
5 additions, 5 deletions
src/Admin/ScrapeRepo
src/Admin/VTKCMakeLists
+0
-3
0 additions, 3 deletions
src/Admin/VTKCMakeLists
src/SyncSiteWithRepo.sh
+4
-4
4 additions, 4 deletions
src/SyncSiteWithRepo.sh
with
9 additions
and
12 deletions
src/Admin/ScrapeRepo
+
5
−
5
View file @
27b25ab4
...
...
@@ -278,9 +278,9 @@ tmpDir = tempfile.mkdtemp(prefix="VTKTarballs") + "/"
# Create the Tarballs directory in the source tree if not present
# If it does not exist, assume the tarball repo has not been cloned
# and we need to ignore tar files
if
not
os
.
path
.
exists
(
"
Tarballs
"
):
os
.
makedirs
(
"
Tarballs
"
)
ignoreFile
=
open
(
"
Tarballs/.gitignore
"
,
'
w
'
)
if
not
os
.
path
.
exists
(
"
src/
Tarballs
"
):
os
.
makedirs
(
"
src/
Tarballs
"
)
ignoreFile
=
open
(
"
src/
Tarballs/.gitignore
"
,
'
w
'
)
ignoreFile
.
write
(
"
*,tar
\n
"
)
ignoreFile
.
close
()
...
...
@@ -325,10 +325,10 @@ for example in exampleToFileNames:
# Now create the tar file for the example
# The tarballs are stored in the source tree
tar
=
tarfile
.
open
(
"
Tarballs/
"
+
example
+
"
.tar
"
,
"
w
"
)
tar
=
tarfile
.
open
(
"
src/
Tarballs/
"
+
example
+
"
.tar
"
,
"
w
"
)
tar
.
add
(
srcDir
,
arcname
=
example
)
tar
.
close
()
os
.
utime
(
tmpDir
,(
0
,
refMtime
))
# Cleanup the temporary directories
#
shutil.rmtree(tmpDir)
shutil
.
rmtree
(
tmpDir
)
This diff is collapsed.
Click to expand it.
src/Admin/VTKCMakeLists
+
0
−
3
View file @
27b25ab4
...
...
@@ -14,9 +14,6 @@ target_link_libraries(XXX ${VTK_LIBRARIES})
###Download and Build XXX
!!! danger
The generation of tar files has not been ported to the new VTKExamples. Some tarballs may be missing or out-of-date.
Click [here to download XXX](https://github.com/lorensen/VTKWikiExamplesTarballs/raw/master/XXX.tar) and its *CMakeLists.txt* file.
Once the *tarball XXX.tar* has been downloaded and extracted,
```
...
...
This diff is collapsed.
Click to expand it.
src/SyncSiteWithRepo.sh
+
4
−
4
View file @
27b25ab4
...
...
@@ -57,10 +57,10 @@ git rm `git status | grep deleted: | cut -d":" -f2,2`
git commit
-m
"SYNC: Files deleted (or moved) from wiki."
echo
"6) Update tarballs and push to tarball repo"
if
(
test
-d
Tarballs
)
;
then
(
cd
Tarballs
;
git add
*
tar
)
(
cd
Tarballs
;
git commit
-m
"SYNC: Tarballs modified"
)
(
cd
Tarballs
;
git push
)
if
(
test
-d
src/
Tarballs
)
;
then
(
cd
src/
Tarballs
;
git add
*
tar
)
(
cd
src/
Tarballs
;
git commit
-m
"SYNC: Tarballs modified"
)
(
cd
src/
Tarballs
;
git push
)
fi
echo
"7) Push the changes"
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment