Commit Graph

523 Commits

Author SHA1 Message Date
Sebastien Loriot 674425ef5f Merge pull request #598 from bo0ts/Maintenance-run_doxygen_from_release-pmoeller
Use the ability to build doc from a release
2016-01-22 09:17:57 +01:00
Sebastien Loriot a54f81a184 Merge pull request #638 from bo0ts/Script-fix_615-pmoeller
Improve create_internal_release
2016-01-22 09:16:12 +01:00
Philipp Möller 605619dbd1 Replace Tiny dependency with a manual check 2016-01-21 14:56:27 +01:00
Sebastien Loriot 6a7523770b Merge pull request #507 from sloriot/Scripts-test_script_update
make the call to readlink earlier to prevent usage of incorrect CGAL_DIR
2016-01-18 09:45:00 +01:00
Philipp Möller 61d8e6c190 Use Capture::Tiny to silence tar
Tar will hard-error with the message:

  tar: ./include/**.h: Not found in archive
  tar: Exiting with failure status due to previous errors

if the temppack.tar does not contain a match. We have to use a special
module to silence this match for several reasons.

- There is no way to ignore this error (even though it has been
  requested on the GNU tar mailing list).
- We cannot redirect the output of tar to /dev/null easily. We have to
  use the LIST form of system which does not allow for redirection.
2016-01-14 16:14:54 +01:00
Philipp Möller e3c560172b Use File::Temp to get our own temporary dir
Instead of writing directly to /tmp, create our own temporary directory
via File::Temp. There is no need for dedicated cleanup. The directory
will be removed as soon as the tempdir object goes out of scope.
2016-01-14 14:17:38 +01:00
Laurent Rineau c5af8ac61c Change curl options
- use $HOME/.netrc to read user/passwd
 - do not use insecured SSL
2016-01-11 10:50:07 +01:00
Philipp Möller 6b787718fe Use a release to build the documentation
Duplicate some code from autotest_cgal to download the LATEST release,
untar it and run the documentation testsuite on it. Clean up afterwards.
2016-01-08 11:49:23 +01:00
Sébastien Loriot b6dacfd393 Merge remote-tracking branch 'cgal/releases/CGAL-4.7-branch' 2016-01-08 11:44:44 +01:00
Philipp Möller 686116debb Move run_doxygen_testsuite to Scripts
This script should be part of a (internal) release so the machine
building releases or testsuites can use the appropriate version for a
given release.
2016-01-08 11:39:52 +01:00
Philipp Möller 59baa1d196 temppack.tar is not always in /tmp 2015-12-21 18:05:01 +01:00
Philipp Möller 9d787a64ee Add a filelist to doc/package in a release
During release creation check which headers are actually part of a
package, write a list and move that list to doc/package_name
2015-12-03 16:05:35 +01:00
Sébastien Loriot df8de0cb40 make the call to readlink earlier to prevent usage of incorrect CGAL_DIR
in case CGAL-I is changed locally by another testsuite
2015-11-23 23:56:28 +01:00
Laurent Rineau 64654ea2ff Add a script that shows the merges in last testsuites 2015-10-26 14:25:06 +01:00
Sebastien Loriot 2e493f297b Merge pull request #389 from afabri/CGAL-Qt3-GF
Remove Qt3 based demos
2015-10-23 17:08:49 +02:00
Sébastien Loriot eb4f860f3b remove mentions of Qt3 2015-10-05 15:19:58 +02:00
Philipp Möller e803417ea2 Add volume qualifiers
Mandatory with SELinux
2015-10-01 15:15:56 +02:00
Philipp Möller 8be6fd9ecf Remove the container after use 2015-10-01 09:55:31 +02:00
Philipp Möller aa8eccead6 Remove dead manual code 2015-10-01 09:55:31 +02:00
Philipp Möller 30d4951f3f Use Docker NSIS image
Instead of calling NSIS directly, launch an image that handles this.
2015-10-01 09:55:31 +02:00
Laurent Rineau 022d7325a3 autotest_cgal: Do not try to use lockfile on Windows, buggy 2015-09-08 13:08:44 +02:00
Laurent Rineau f99b88d671 autotest_cgal on Windows: fix pre-compiled binaries
Also collect DLLs from sub-directories: in the Polyhedron demo, for
example, there are generated DLLs in ./implicit_functions/
2015-09-08 13:07:32 +02:00
Laurent Rineau 5dfea470e7 autotest_cgal: small modification for Cygwin
In case of Cygwin, use cygpath on CGAL_REFERENCE_CACHE_DIR
2015-09-08 13:07:20 +02:00
Laurent Rineau 03e82e2c87 Qt5 instead of Qt4
And WITH_CGAL_Qt3 is OFF by default, now.
2015-08-03 15:06:53 +02:00
Laurent Rineau 672d2134a8 Fix the CXXDEBUG/OpenMesh issue 2015-07-09 17:40:58 +02:00
Alexander Kobel 8ae9c144a8 make cgal_create_CMakeLists and its brethren recognize all common C++ source file extensions
Rationale: cgal_create_CMakeLists and related scripts used to not
consider files ending on anything else than .cpp or .C as C++ sources.
This patch allows for the list of extensions considered as C++ source
files as stated in the g++ man page.
2015-06-25 15:55:55 +02:00
Laurent Rineau 7f185d4b1b Update licensecheck to upstream release 2.15
I took the script for the Fedora distribution version 20, in the RPM
package devscripts-minimal-2.15.3-1.fc20.x86_64
2015-04-30 14:31:53 +02:00
Laurent Rineau 76414c55e7 Allow to use git-hub, if availlable 2015-04-21 17:38:08 +02:00
Laurent Rineau 98bc70d8d1 Improved script 2015-04-07 16:08:33 +02:00
Laurent Rineau ac04d78dde Update after switch to Github 2015-03-10 14:50:42 +01:00
Laurent Rineau 39a43e31ab Modify the release creation scripts for Github 2015-03-05 22:01:26 +01:00
Laurent Rineau 3f8fc6b829 Make the script display the status of the merge 2015-01-22 13:52:14 +01:00
Laurent Rineau 3f0166686b Fix a bug on Windows 2015-01-15 14:40:47 +01:00
Laurent Rineau 31c965a070 One script to rule them all!
This script makes various checks on branches that are candidate to be
merged in CGAL.
2015-01-14 19:43:06 +01:00
Laurent Rineau 63944ff69b Better implementation 2015-01-14 19:42:53 +01:00
Laurent Rineau ad7fd054d2 Better script
The pattern "build*/" is now excluded recursively and not only at the
root.

Trivial fix for master.
2014-12-22 18:02:14 +01:00
Laurent Rineau 9da107f450 workaround for Cygwin 2014-11-27 16:03:46 +01:00
Laurent Rineau b7becbcdb8 Change the IP address for test result submissions 2014-08-27 10:35:14 +02:00
Laurent Rineau 36d8b5bd18 Convert source files encoding to utf-8
All non-ASCII files should be encoded in UTF-8. So far, the ZSH script
`Scripts/developer_scripts/detect_wrong_encoding` detects wrong encoding
in source/header files of include/, src/, and doc/.
2014-08-01 11:20:13 +02:00
Sébastien Loriot 6ed1ba826e Merge branch 'to-be-tested/Stop_testing_taucs-sloriot'
Taucs, Lapack and Blas supports are no longer tested

Approved by the Release Manager
Tested in CGAL-4.5-Ic-97

Conflicts:
	Polyhedron/demo/Polyhedron/CMakeLists.txt
2014-07-16 20:19:21 +02:00
Laurent Rineau 03cc42d44f New script, to detect non-UTF-8 header files 2014-07-08 13:22:45 +02:00
Sébastien Loriot aeb094e4cc more Taucs removal 2014-06-25 15:58:37 +02:00
Laurent Rineau bb5594931e Fix the exit code 2014-05-22 15:10:00 +02:00
Laurent Rineau e14ba766f2 Fix a typo 2014-02-24 18:37:43 +01:00
Laurent Rineau aff729e8e2 Fix release creation 2014-02-24 17:47:56 +01:00
Laurent Rineau eabe9f16a6 Quote arguments of 'rm' 2014-02-24 16:30:01 +01:00
Laurent Rineau c25c042583 Fix the creation of public releases .exe setup 2014-02-24 16:28:31 +01:00
Laurent Rineau a5cc4dc910 Fix the creation of public releases
When the release names of consecutive public releases are the identical,
there was a bug:
"gzip: CGAL-4.4-dev.tar.gz already exists;       not overwritten"
2014-02-18 15:56:52 +01:00
Laurent Rineau c2c472b20b Fix a warning
"Name "main::result" used only once: possible typo at
 [...]/create_internal_release line 226."
2014-02-18 15:56:00 +01:00
Laurent Rineau 5a916c9fda Better detection of wrong permissions 2014-02-06 19:04:04 +01:00
Laurent Rineau 367314623d Add a script to detect wrong permissions, and fix permissions
The script uses zsh, and lists regular files that have the
'executable' permission.

At the same time, I fix the permissions of several files.
2014-02-06 18:49:09 +01:00
Sébastien Loriot c941961373 remove mention of doc_tex in developer scripts 2013-12-03 17:33:56 +01:00
Laurent Rineau bf5f124a97 Better treatment of ULIMIT_OPTIONS
Previously, the shell variable was set in .autocgalrc, and its value was
recopied as-is in the localtestscript file. Now ULIMIT_OPTIONS can be set
in the "setup" file of a testsuite platform in the reference platforms
directory.
2013-11-07 14:23:03 +01:00
Laurent Rineau 9bd913af91 create_new_release: better error reporting 2013-08-21 15:18:56 +02:00
Laurent Rineau 7e840c8ec9 Follow-up to the switch to Doxygen. Remove references to doc_tex 2013-08-21 12:27:40 +02:00
Laurent Rineau 686edc3811 Switch to the Doxygen documentation
The internal releases will now include the doc/ subdirectory, instead of
doc_tex/, and the doc_html/ subdirectory points to the Doxygen-generated
documentation.
2013-08-20 17:00:45 +02:00
Laurent Rineau 3f617fa3cc In the short git log, display parents hashes 2013-06-24 14:56:11 +02:00
Laurent Rineau 149b43c28f Merge branch 'Scripts-fix_cgal_test-lrineau'
It fixes a bug during the detection of availlable targets in a Makefile,
when one file or directory in the sources directory is named "help".

Approved by the Release Manager.
2013-06-14 11:47:58 +02:00
Sébastien Loriot 0f8498f3b5 Revert "use relative path in tagfiles, otherwise documentation output cannot be moved"
This reverts commit ea256c954a.

Conflicts:
	Documentation/CMakeLists.txt
2013-06-13 15:21:07 +02:00
Laurent Rineau e740108114 Fix cgal_test detection of existing targets 2013-06-13 13:53:36 +02:00
Sébastien Loriot ea256c954a use relative path in tagfiles, otherwise documentation output cannot be moved 2013-06-11 12:54:25 +02:00
Panagiotis Cheilaris e365c3d4b9 Merge branch 'doxygen-script-cgal_create_package_dir-philaris'
Script cgal_create_package_dir.py creates the skeleton
directory structure of a new package and fills it with
some basic files.

Approved by the release manager.
2013-06-09 18:09:44 +02:00
Panagiotis Cheilaris 01c1baeeb3 include path ending in package name 2013-06-07 16:17:27 +02:00
Panagiotis Cheilaris 23327f57c9 usage of cgal_create_package_dir in comments 2013-06-07 16:11:41 +02:00
Panagiotis Cheilaris 4217cc2459 find template figure in its new place from script 2013-06-04 09:58:34 +02:00
Panagiotis Cheilaris 373a733fc9 make script python version agnostic 2013-06-04 09:50:34 +02:00
Panagiotis Cheilaris 4aade0bc6d add epilog about single directory creation 2013-05-31 11:40:01 +02:00
Panagiotis Cheilaris abb1ec705d add dependencies file in documentation directory 2013-05-31 11:27:49 +02:00
Panagiotis Cheilaris 5d6d2f31a9 remove xml file in documentation directory 2013-05-31 10:08:29 +02:00
Panagiotis Cheilaris fb87d46f78 add Doxyfile.in in documentation directory 2013-05-31 10:04:42 +02:00
Panagiotis Cheilaris ecf3cf77b0 xml supports documentation inside code in include
Now, we have support to look in the source files in the include
directory of a package for possible doxygen documentation.
2013-05-29 19:27:28 +02:00
Panagiotis Cheilaris 6af09cda39 optional path argument where package is created
If path argument is omitted, the package directory
is created in the current directory.
2013-05-29 19:24:30 +02:00
Panagiotis Cheilaris 1faa0ceac4 remove TeX comment from doxygen script 2013-05-29 18:52:25 +02:00
Panagiotis Cheilaris 88a116529d doc xml usual references and comments 2013-05-29 16:27:49 +02:00
Panagiotis Cheilaris 39c5060c72 show command for multiple authors in comment 2013-05-29 16:22:37 +02:00
Panagiotis Cheilaris fae38e2a15 also fill user manual txt with some basic content 2013-05-29 16:15:24 +02:00
Panagiotis Cheilaris 8cb53ceb9d copy sample image to new package directory 2013-05-29 12:21:35 +02:00
Panagiotis Cheilaris 56814aa8cf remove tag from xml file in documentation 2013-05-29 11:37:23 +02:00
Panagiotis Cheilaris 988c8ae48f store documentation figure path in a variable 2013-05-29 11:35:24 +02:00
Panagiotis Cheilaris 7757cf3841 use pkg-small.png as the figure 2013-05-29 11:24:26 +02:00
Panagiotis Cheilaris b2a94ea3ce use PRETTY PACKAGE NAME in script
I also added a comment that "PRETTY PACKAGE NAME"
should be the same in the xml file and the package
description in the documentation.
2013-05-29 11:19:44 +02:00
Laurent Rineau 2c6d522fcd Display a short log of integration 2013-05-28 17:37:41 +02:00
Panagiotis Cheilaris 62bbe72def skeleton xml & description files in documentation 2013-05-28 14:14:26 +02:00
Panagiotis Cheilaris 3b914cc5f9 directory structure for documentation of a package 2013-05-28 13:36:14 +02:00
Panagiotis Cheilaris c5be7187c2 help and usage message for cgal_create_package_dir 2013-05-28 12:12:03 +02:00
Panagiotis Cheilaris 663f9de8ff use os.path.join to make script more portable 2013-05-28 11:56:11 +02:00
Panagiotis Cheilaris bd8474be80 create the directory structure for a new package 2013-05-27 18:51:33 +02:00
Laurent Rineau d47b8963a2 Change the way the Git branch is displayed in test results
Now the commit hash will be display, and also all the local branch names
that correspond (similarly to the use of --decorate in git-log).
2013-03-26 12:45:13 +01:00
Sébastien Loriot 29738420ba fix incorrect bash construction 2013-03-26 11:37:11 +01:00
Laurent Rineau f6f3fb47f3 Variables that depend on CGAL_ROOT must be set after .autocgalrc is loaded 2013-03-04 17:17:12 +01:00
Laurent Rineau 6316551b4f My two patches to licensecheck are already merged upstream.
The patches are in the future version 2.13.1, not yet released.
2013-02-20 14:03:05 +01:00
Laurent Rineau fbd7cb7155 Add a comment 2013-02-19 16:45:00 +01:00
Laurent Rineau 6f77194886 Update licensecheck from the upstream 2.13.0
- plus two patches, that are submitted upstream¹
- add a sort of testsuite.

¹) See the following bugs:
  http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=700938
  http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=700944
2013-02-19 16:44:30 +01:00
Laurent Rineau b0d3a8d320 Fix a bug in Scripts/developer_scripts/detect_packages_licenses
The bug was hidding the fact that some files of CGAL have no or wrong
license headers.
2013-02-18 15:30:06 +01:00
Laurent Rineau 74643398fa Remove .scm-branch from public releases 2013-02-08 16:35:37 +01:00
Laurent Rineau dedd4c4cbb In autotest_cgal, print errors to stderr instead of stdout 2013-02-06 12:05:34 +01:00
Eric Berberich 5f16598c10 added quotes to handle whitespaces in directories 2012-12-19 10:46:57 +01:00
Philipp Möller 1adf441b18 Convert all CRLF files to LF 2012-12-03 18:44:24 +01:00
Laurent Rineau c4d35cd207 Add an option --no-scm-update to create_new_release
My script
Maintenance/infrastructure/cgal.geometryfactory.com/bin/create_release
already fetch and reset the SCM (to precompile manual tools). No need have
create_release to it again.
2012-11-30 12:50:30 +01:00
Laurent Rineau 8358f58ab6 Add a shebang for that script 2012-11-26 12:10:35 +01:00