Commit Graph

1003 Commits

Author SHA1 Message Date
Laurent Rineau 3fc43f9e9f Fix for those scripts
Use the `${INIT_FILE:+..}` syntax, for compatibility when `INIT_FILE`
is unset or empty.
2018-09-04 12:01:25 +02:00
Laurent Rineau 8c744204de Compatibility: no -C option if INIT_FILE is unset or null 2018-09-04 11:26:33 +02:00
Laurent Rineau 0034efa67a IS_MASTER=y by default, and compatibility with old syntax 2018-09-04 11:09:22 +02:00
Laurent Rineau f4f3953cc0 Fix the script 2018-09-03 17:12:56 +02:00
Laurent Rineau f09c4ffe4e Untabiffy 2018-09-03 16:29:43 +02:00
Laurent Rineau 6870ddd8ef work also in a git-worktree 2018-09-03 16:29:29 +02:00
Maxime Gimeno b5474fd02e Update create_new_release to use the cmake script. 2018-09-03 15:37:30 +02:00
Maxime Gimeno bb14479266 Add -C option to all `cmake` calls in the testsuite mechanism 2018-08-24 15:11:39 +02:00
Laurent Rineau be056fc265 new minor improvement 2018-07-04 15:45:25 +02:00
Laurent Rineau d3de728599 improve the script add_toc_to_github_wiki_page.py
- Support Codebase flavor of Markdown
- Support h1 sections
2018-07-04 15:32:26 +02:00
Laurent Rineau 08043e442c Merge pull request #2835 from gdamiand/CGAL-basic_viewers-gdamiand
Add basic viewers
2018-06-14 17:36:37 +02:00
Laurent Rineau 564a68dada use printf, to display \n 2018-06-11 15:54:41 +02:00
Maxime Gimeno c79f1424fd Fix call to nproc 2018-05-30 11:40:47 +02:00
Maxime Gimeno 65ec22ec06 Add the check headers in the CHECK pass of travis 2018-05-29 09:46:44 +02:00
Maxime Gimeno 5010283dfe Change help for script. Specify the path should lead to a release (not a git repo). 2018-05-25 16:15:35 +02:00
Laurent Rineau e4ff486963 Merge pull request #3110 from lrineau/Installation-better_check_headers-lrineau
Installation: better check_headers (for Travis)
2018-05-25 10:42:22 +02:00
Maxime Gimeno 5bb6622eab Make the -x option conditionnal for all travis scripts. 2018-05-23 15:29:58 +02:00
Maxime Gimeno c45d2fa1e7 List all dependencies error at the end to simplify the reading in travis. 2018-05-23 15:29:58 +02:00
Laurent Rineau d2bb055902 Run `make packages_dependencies` with -k
That will make the process continue in case of errors.
2018-05-23 15:10:26 +02:00
Maxime Gimeno af9605a773 Make the dependencies check NOT order dependant. 2018-05-15 15:41:23 +02:00
Laurent Rineau 5c9285f84f safer and faster script, without calling git-reset 2018-04-05 10:11:20 +02:00
Maxime Gimeno a7c51b6f6e replace INSTALL by INSTALL.md 2018-04-05 09:42:09 +02:00
Maxime Gimeno 6c39cae662 Fix instructions for dependencies update 2018-03-26 10:12:17 +02:00
Laurent Rineau 9ebc4c0453
Merge pull request #2897 from maxGimeno/Travis-enhance_install_sh-gf
Travis: Time enhancement
2018-03-21 17:05:31 +01:00
Maxime Gimeno ab87194583 Makes the number of cores for make a variable. 2018-03-15 14:15:13 +01:00
Maxime Gimeno b407e407c7 Fix tyo 2018-03-07 13:19:51 +01:00
Laurent Rineau 7da1c98f82 Merge pull request #2889 from sloriot/Scripts-cr_with_cmake_hash_file_fix
Use the hash of the last modification per file
2018-03-06 16:23:16 +01:00
Maxime Gimeno d035e592c6 Fix check_dependencies script 2018-03-05 12:10:43 +01:00
Sébastien Loriot 3c8dfc7989 get the hash of the last modification per file 2018-03-02 10:40:27 +01:00
Maxime Gimeno 847e714001 inverse logic 2018-02-28 11:47:33 +01:00
Maxime Gimeno f907423981 Fix cgal_create_release_with_cmake and add an argument --beta to create_new_release.sh 2018-02-28 11:21:25 +01:00
Sébastien Loriot 50bd81b031 correctly generate cgal_test_with_cmake 2018-02-15 11:11:07 +01:00
Laurent Rineau 9e7115ac2e Merge pull request #2784 from maxGimeno/Travis_check_package_dep-GF
TravisCI:  check package dependencies
2018-02-14 15:33:31 +01:00
Maxime Gimeno 6474c9a54c Cganhe official master doc from doxygen 1.8.4 to doxygen 1.8.13. 2018-02-12 12:51:30 +01:00
Maxime Gimeno 5de691f700 Specify missing property in warning message in cgal_check_dependencies.sh 2018-02-09 10:56:17 +01:00
Maxime Gimeno 688b5dd06e Move dependencies creation to package_info and add dependencies to git 2018-02-02 12:08:05 +01:00
Maxime Gimeno fc5ba1b68e Fixes 2018-02-02 12:08:05 +01:00
Maxime Gimeno 74610660e7 Check package dependencies to decide if it should be tested by travis or not. 2018-02-02 12:08:05 +01:00
Maxime Gimeno c42e183aa0 Add opencv to travis and fix some stuff. 2018-02-02 12:08:05 +01:00
Maxime Gimeno a676d5a60e Try to fix errors in classification checks 2018-02-02 12:08:05 +01:00
Maxime Gimeno acd0a72edf Modify travis script to test dependencies 2018-02-02 12:08:05 +01:00
Maxime Gimeno 1dc6a0d66c Add a script in Scripts/developers_scripts thatcheck if there are differencies in the dependencies of packages 2018-02-02 12:08:05 +01:00
Maxime Gimeno 9fc057e1cf remove list and list generator for documented headers and make compute_dependencies implied by enable_check_header 2018-02-02 12:08:05 +01:00
Laurent Rineau f310fc588d
Merge pull request #2690 from sgiraudot/Classification-ETHZ_random_forest-GF
Classification: ETHZ Random Forest
2018-02-01 17:35:30 +01:00
Laurent Rineau 06ae14bd5c Try to fix the release creation 2018-01-16 16:56:23 +01:00
Laurent Rineau 0273ee4db3 Acknowledge that this package uses two licenses, and fix the script 2018-01-12 14:15:03 +01:00
Laurent Rineau e2f89318e5 Improve scripts 2018-01-11 16:52:35 +01:00
Maxime Gimeno ec40acf2c3 Add a script that bundles the demo with AppImage for all Linux distribs. 2018-01-09 12:31:32 +01:00
Sébastien Loriot e596ee63b4 generate filelists.txt used by doxygen in release mode 2018-01-08 21:14:01 +01:00
Sébastien Loriot 7db11179d0 special handling for Documentation and Miscellany + remove fig_src 2018-01-08 20:49:19 +01:00
Sébastien Loriot c2fa266280 create test/PKG_Demo and test/PKG_Examples + copy cgal_test_with_cmake
needed by the testsuite
2018-01-08 20:15:12 +01:00
Sébastien Loriot 7dd3244c02 handle CGAL_VERSION_NR and CGAL_VERSION options 2018-01-03 12:14:05 +01:00
Sébastien Loriot e318a89a78 handle CGAL_GIT_HASH and CGAL_RELEASE_DATE in version.h 2018-01-03 11:13:19 +01:00
Sébastien Loriot 8b6deff272 generate VERSION 2018-01-03 10:46:22 +01:00
Sébastien Loriot bb8e7127f6 remove INTERNAL option that is redundant 2018-01-03 10:27:05 +01:00
Sébastien Loriot df15f0ece5 consider the file content as a string to avoid semicolon to be removed 2018-01-03 10:21:44 +01:00
Laurent Rineau 8f3e229802 Update the script
- The directory of the doc results is now `output1/` instead of `output/`.

- The script was considering that CGAL-4.11.1-I-103 was `master`, whereas
  it is build from a release branch.
2017-12-13 12:07:30 +01:00
Laurent Rineau 4544da8e1f Merge pull request #2644 from maxGimeno/Doc_add_one_column_to_overview-GF
Add a 3rd diff column to the documentation overview page.
2017-12-05 18:27:09 +01:00
Maxime Gimeno 647f4b7775 update testsuite script 2017-12-01 15:43:58 +01:00
Sébastien Loriot 38810c9860 generate SVN like ID if generated from a git branch 2017-11-20 12:13:22 +01:00
Sébastien Loriot dd5a9163d0 update the replacement string for URL 2017-11-17 12:28:33 +01:00
Sébastien Loriot eda6d41e8f replace $URL$ and $Id$ when generating a release 2017-11-17 08:40:16 +01:00
Sébastien Loriot 76a543fd3b clean up comments 2017-11-17 07:36:44 +01:00
Sébastien Loriot 203f7cd51e merge two loops 2017-11-17 07:28:45 +01:00
Sébastien Loriot dfbb997f48 add a first version of the cmake script to create a release 2017-11-17 07:09:28 +01:00
Sébastien Loriot 4f85e3f688 update script to test for the presence of URL and Id tag 2017-11-15 23:13:22 +01:00
Sébastien Loriot 49c1357aff add license checking include directive only in GPL files 2017-11-12 10:21:35 +01:00
Sébastien Loriot 5a356fb40a add check for the presence of SPDX identifier
also update check for GPL license checking include directive
2017-11-12 10:21:35 +01:00
Sébastien Loriot 72cda50a5e fix incorrect LGPL version tags 2017-11-12 10:17:52 +01:00
Sébastien Loriot ee57fc2d6c add SPDX identifier for files under the GPL-3+ license 2017-11-12 10:17:51 +01:00
Sébastien Loriot 0698f79aff add SPDX identifier for files under the LGPL-3+ license 2017-11-12 10:17:50 +01:00
Laurent Rineau 63d3c81038 Fix the previous commit 2017-09-15 17:12:48 +02:00
Laurent Rineau 7fb5d8dc05 Protection against loss of uncommitted stuff 2017-09-15 17:10:56 +02:00
Laurent Rineau 18a84363c2 Add a zsh script to help the release manager 2017-09-15 16:43:06 +02:00
Laurent Rineau 984b021574 Improve check_headers.sh, and fix the errors 2017-09-04 16:06:51 +02:00
Laurent Rineau 3e61b2c649 fix with old `cut` version before 8.25 2017-08-23 15:55:49 +02:00
Sébastien Loriot 07f6151b06 fix help display 2017-08-18 11:13:52 +02:00
Laurent Rineau 5658adbc26 Fix the updates to doc.cgal.org/master 2017-07-24 16:15:07 +02:00
Laurent Rineau 07e34b2773 Try to be more robust on errors
The objective is to always have a working http://doc.cgal.org/master
2017-07-17 17:42:50 +02:00
Laurent Rineau 2c6980bb4a Fix the script, with filenames containing spaces 2017-06-26 11:57:06 +02:00
Laurent Rineau 376c2dd002 Merge pull request #1852 from maxGimeno/Doxygen_compare-GF
Compare two documentation outputs
2017-06-13 10:18:28 +02:00
Laurent Rineau 053b617695 Fix developer_scripts/detect_wrong_encoding with file-5.29 2017-06-12 18:03:30 +02:00
Maxime Gimeno 36d1a39bfc Optimisations :
- Fix path problems
 - Unify test_doxygens.sh
 - use th emax number of cores available for make calls
 - fix doc of the scripts
2017-06-07 13:58:48 +02:00
Maxime Gimeno 7745ed8423 Modify run_doxygen_testsuite to use the new doxygen testsuite. 2017-04-18 12:59:26 +02:00
Laurent Rineau 4ff73fdb69 Remove other false positives 2017-02-01 18:01:39 +01:00
Laurent Rineau 4cb90a88b7 ack is not needed: egrep does the same 2017-02-01 18:00:44 +01:00
Laurent Rineau 2ef63a5e18 On Trusty, `file` might return "FIG image text, version 3.2" 2017-02-01 17:51:30 +01:00
Laurent Rineau c22aebe938 Windows `.bat` files can be executable 2017-02-01 17:23:40 +01:00
Maxime Gimeno 1c1999411b Update test_merge_branch to check if all the documentation headers actually exist. 2017-02-01 10:52:28 +01:00
Laurent Rineau 7f0a613df7 Improvements
- Use `ack` (Fedora) or `ack-grep` (Debian/Ubuntu)
- Avoid an `exit 1` if the merge is empty.
2017-01-19 18:55:44 +01:00
Laurent Rineau 0b5cd1388f Accelerate "Checking if non utf-8 characters are used" 2017-01-19 18:48:19 +01:00
Sébastien Loriot eefa67f762 remove release_date.h and put the macro in version.h to be set by cmake
in the case of a release, it will be the date of the creation of the release
2017-01-19 16:32:31 +01:00
Sébastien Loriot 953b743e65 detect files with no license include directive 2017-01-19 15:20:28 +01:00
Sébastien Loriot 0313693e03 more strict matching for include guards 2017-01-19 15:20:27 +01:00
Sébastien Loriot 6c7064167d detect non UTF-8 characters 2017-01-19 15:20:27 +01:00
Sébastien Loriot 8f3b8af123 fix the detecting of incorrect cmake project names 2017-01-19 15:20:26 +01:00
Sébastien Loriot 8efcb3db1b improve regexp to match any license header included 2017-01-19 15:20:24 +01:00
Sébastien Loriot 944a8f2e39 add a script to add the include directive of the license file per parckage 2017-01-19 15:20:24 +01:00
Laurent Rineau 71c92f6611 Fix the path to env 2016-12-20 20:01:34 +01:00
Laurent Rineau d97b4001b3 Fix CMake warnings about unused variables set on command line
`RUNNING_CGAL_AUTO_TEST` and `CGAL_DIR` are set on the command line by
our `cgal_test` scripts.

-> Add the option `--no-warn-unused-cli` to avoid warnings when the
   variables are actually not used (for example if a dependency is not
   satisfied).
2016-12-02 11:06:06 +01:00
Laurent Rineau 038a310a1a Merge pull request #1446 from sloriot/CGAL-remove_dont_submit
Getting rid of the remaining dont_submit files
2016-10-17 10:01:30 +02:00
Laurent Rineau 6c93f66b1f improve the script
- More verbose outputs
- Compatibility with various versions of dulwich.
2016-10-06 18:22:31 +02:00
Laurent Rineau 5e3a7dba70 Purposely ignore all build* directories 2016-10-06 17:38:24 +02:00
Sébastien Loriot c430ba2370 release creation script skip Maintenance directory 2016-10-06 09:55:49 +02:00
Laurent Rineau 223c1cf5a4 Merge pull request #1530 from lrineau/Installation-compute_dependencies-GF
Compute and fix packages dependencies
2016-10-05 13:11:04 +02:00
Laurent Rineau 9a0bb54922 Merge pull request #1438 from sloriot/CGAL-clean_up_projects_name_cmake
Clean up projects name in cmake scripts
2016-10-05 13:02:25 +02:00
Laurent Rineau 405207791c Fix the name of the config file 2016-10-04 20:14:03 +02:00
Laurent Rineau d78eb5192f Add --unmerged 2016-10-04 20:06:51 +02:00
Laurent Rineau b27f3b75fc Improve the script
- Document and implement the special treatment of 'Under testing ...'
- In case the label is unknown, print know labels.
- Fix the case when issues are not pull-requests.
2016-10-04 19:55:31 +02:00
Laurent Rineau ac6c0b8b1c Add a new script to list pull-request
This Py2/Py3 script uses the Github API to list pull-requests matching a
given label.
2016-10-04 19:43:26 +02:00
Laurent Rineau 367da380f1 Move and regenerate list_of_documented_headers.cmake 2016-09-30 15:23:15 +02:00
Laurent Rineau c6855beb15 Only check the list of documented headers
That list of documented headers (contained in
`Installation/list_of_documented_headers.cmake`) is generated using a
shell script, with `ack`, by searching in the example .cpp files, and in
the Doxygen compiled documentation.
2016-09-30 15:22:28 +02:00
Sébastien Loriot 7d3f017ba1 one more symbol 2016-09-09 14:29:13 +02:00
Sébastien Loriot 20b07e04e7 remove no longer used script 2016-09-08 18:40:46 +02:00
Laurent Rineau 1932c2115f Use bash as the interpreter
Fixes #1440.
2016-09-08 15:42:57 +02:00
Sébastien Loriot 1b9fb0be94 check cmake scripts of tests, examples and demos exist 2016-09-08 01:08:50 +02:00
Sébastien Loriot de8d0d33f5 add test to check the field project in cmake scripts 2016-09-08 00:38:44 +02:00
Sébastien Loriot bbf00dbe52 one more 2016-09-07 21:59:58 +02:00
Sébastien Loriot 756f19c2a5 remove more symbol 2016-09-07 21:59:13 +02:00
Sébastien Loriot fccdea9517 handle more symbols 2016-09-07 18:49:46 +02:00
Sébastien Loriot 421912200c add script to generate a table of content in the wiki on github 2016-09-07 18:38:30 +02:00
Laurent Rineau a022a05f0d Add the support to edit the symlink 2016-07-20 19:46:02 +02:00
Laurent Rineau 10fe0db5f4 Merge branch 'releases/CGAL-4.8-branch' 2016-04-08 15:13:33 +02:00
Laurent Rineau 84710e67b4 Update the script for CGAL-4.8 demos
The polyhedron demo now has sub-sub-directories!
2016-04-08 15:01:04 +02:00
Sébastien Loriot 45406a5296 Merge pull request #788 from bo0ts/Installation-split_config-pmoeller
Split CGALConfig.cmake and CGALExports.cmake
2016-03-06 15:36:55 +01:00
Philipp Möller 42899e6bf0 Remove script cgal_generate_cmake_script.cmake
The script is ancient, has syntax errors, and no obvious purpose not covered
by cgal_create_CMakeLists.
2016-02-16 17:34:41 +01:00
Philipp Möller 25571be1d9 Remove WITH_ALL_PRECONFIGURED_LIBS code
The required code is no longer supported after the removal of
CGAL_ALLOW_ALL_PRECONFIGURED_LIBS_COMPONENT
2016-02-16 17:27:58 +01:00
Philipp Möller 4211a4f01e Globally remove CMAKE_ALLOW_LOOSE_LOOP_CONSTRUCTS
This is a Cmake 2.4.3 variable that isn't even documented anymore.
2016-02-16 17:02:55 +01:00
Philipp Möller 5300219e66 Use CGAL_DOC_VERSION in script 2016-02-11 15:37:54 +01:00
Sébastien Loriot 3ce368732f remove temporary directory
fix of 30d4951f
2016-02-01 17:16:34 +01:00
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
Laurent Rineau 0f0270f8bf Fix CGAL_SVN_REVISION in internal releases 2012-11-16 10:52:42 +01:00
Laurent Rineau 54748a5fa2 Yet another fix
Scripts/developer_scripts/create_internal_release is difficult to test
without commiting it. :-(
2012-11-13 16:15:18 +01:00
Laurent Rineau ff6c7f9436 Last fix of testsuite scripts? 2012-11-13 15:12:05 +01:00
Laurent Rineau 7516722c10 Modify release creation scripts to be compatible with Git 2012-11-13 14:46:46 +01:00
Laurent Rineau e9637bf7b3 Fix the exit code of the script 2012-11-01 13:58:24 +00:00
Sébastien Loriot 74cc1ba744 remove more files 2012-11-01 08:36:19 +00:00
Eric Berberich a7c6fc90c9 added missing "remotes/" 2012-10-24 10:45:33 +00:00
Eric Berberich 526594b3a4 report only if successfull 2012-10-24 10:38:46 +00:00
Eric Berberich cd0edaad5d remove this script from next (it is still contained in svn2git-cgal) 2012-10-23 23:01:22 +00:00
Eric Berberich bc23fc74d7 script to install hooks for clients 2012-10-23 23:00:07 +00:00
Laurent Rineau d2bbb00578 Followup r73187: fix the script. 2012-10-23 09:05:53 +00:00
Laurent Rineau 184f8735a3 Revert previous commit r73185 2012-10-23 08:28:33 +00:00
Laurent Rineau f346d6baa7 Follow-up of r73184: patch the date and CGAL version in man(1) pages 2012-10-23 08:27:01 +00:00
Laurent Rineau a0a88a3767 Patch the date and CGAL version in man(1) pages 2012-10-23 08:25:28 +00:00
Laurent Rineau 8b2ca2a747 Prepare release scripts for Git 2012-10-22 14:42:42 +00:00
Laurent Rineau f0118a1311 Revert last commit (commited by error) 2012-10-09 09:28:37 +00:00
Laurent Rineau 648472bdac After a run of detect_packages_license 2012-10-09 09:26:23 +00:00
Eric Berberich 357d6258f5 cmake's link_libraries is deprecated
removed almost all occurenced (missing UseFiles). While
doing so, some CMakeLists.txt could also be simplified. In fact
many more CMakeLists.txt can be simplified, in one of two ways:
1) add external libs to CGAL_3RD_PARTY_LIBRARIES and
2) call cgal_create_single_source_program
2012-08-03 22:32:39 +00:00
Eric Berberich 7e1fd59648 correct names 2012-08-03 17:48:56 +00:00
Laurent Rineau 7eb193cc61 New script that detect files with mixed eol styles 2012-08-02 13:46:16 +00:00
Laurent Rineau 4c3e1c3138 Fix mixed eol styles 2012-08-02 13:35:03 +00:00
Eric Berberich 7df5cae640 moved 2012-05-24 12:36:17 +00:00
Eric Berberich 42799e2a39 merge from next 2012-05-21 09:23:32 +00:00
Philipp Möller c625511ef7 After chmod'ing this a thousand times: add executable property to clean_up_branch 2012-05-11 15:30:24 +00:00
Laurent Rineau c8dcd583cb Smaller patch to licensecheck. Patch submitted upstream. 2012-02-10 11:40:09 +00:00
Joachim Reichel d515d853e1 Tighten grep expression to also find files with license, but without
copyright notice.
2012-01-29 10:40:10 +00:00
Joachim Reichel 2407cc9efb Rename script (s/qpl/gpl/). 2012-01-29 10:35:31 +00:00
Joachim Reichel b7b542d788 Adapt script to the new license scheme.
- remove GPLd files instead of QPLd files
- use licensecheck to select the files
- pass -DWITH_CGAL_Qt4=OFF, remove Qt4 files from exceptions
- tighten exceptions
2012-01-29 10:34:22 +00:00
Laurent Rineau 7b2e34d267 merge with next 2012-01-27 16:46:42 +00:00
Laurent Rineau 9e19a7e43b licensecheck is called with a set of extensions to look for
Change the behavior of check_licenses so that it is more like the behavior
of the previous version of the script.
2012-01-26 10:53:49 +00:00
Eric Berberich 832c6c02e7 merge from next; installation.tex got major changes 2012-01-23 13:54:58 +00:00
Laurent Rineau 3efd3543bf Check also the license of src/ 2012-01-19 16:52:16 +00:00
Laurent Rineau 68856f6503 Add a new (zsh) script to detect packages licenses 2012-01-16 16:03:14 +00:00
Laurent Rineau a6a67c86c3 Typo on Sarl 2012-01-16 13:47:16 +00:00
Laurent Rineau 564b30a0e9 New check_licenses script, that uses 'licensecheck' 2012-01-16 11:51:59 +00:00
Laurent Rineau d1988a7d91 Commit my script to that switch from qpl to gpl 2012-01-13 17:29:51 +00:00
Eric Berberich 66bc1cef1e merge from next 2012-01-09 12:42:00 +00:00
Laurent Rineau 5b5dd33848 merge changes from next 2012-01-09 12:33:39 +00:00
Laurent Rineau 0fb9cfd0f3 So that my colleges know that I do not commit myself each day at 21:05. 2012-01-05 10:54:29 +00:00
Laurent Rineau ba66be3e4a Again: quote $LOCK_FILE, this time in the EXIT trap. 2011-11-07 16:31:32 +00:00
Laurent Rineau dcdaff4622 Quote a path, to avoid errors if the path contains a space 2011-11-07 15:53:06 +00:00
Sébastien Loriot 91a5327fa8 change LGPLv2 -> LGPLv3 2011-10-10 13:48:25 +00:00
Laurent Rineau dbf3ace24b merge from next 2011-09-22 07:56:49 +00:00
Sébastien Loriot 865795fb69 add an experimental dirty script that I used to
remove some copyright holders
2011-09-21 19:52:38 +00:00
Sébastien Loriot dff6dda8b3 Remove from copyright holder
Freie Universitaet Berlin (Germany), Martin-Luther-University Halle-Wittenberg
(Germany) and RISC Linz (Austria) as they transfer the copyright to other
sites.
2011-09-21 19:46:31 +00:00
Alexander Kobel 52beeeaf83 - reveal cgal_create_assertions.sh (used to be create_assertions.sh) to the public
- move feature documentation to the public Developer_manual
2011-09-20 16:28:48 +00:00
Eric Berberich 24ebd0ec22 added stub of update scrupt 2011-05-24 09:44:45 +00:00
Eric Berberich b99e970618 added todo 2011-05-24 09:44:26 +00:00
Eric Berberich 75646f61a9 clean up 2011-05-24 08:47:32 +00:00
Eric Berberich 5114d69642 clone clone improved (TODO delete deleted branches, tags) 2011-05-24 00:07:49 +00:00
Eric Berberich 1743bec7f4 use rsync for svn 2011-05-20 16:06:19 +00:00
Sébastien Loriot 60d13997b6 * fix bug in testing option and YES/NO
* Add *.out and *.hlg as known files to remove
* use bash instead of sh
* make the script executable
2011-05-05 09:17:31 +00:00
Sébastien Loriot 6433f2e2c2 use --no-ignore option 2011-05-04 14:24:43 +00:00
Sébastien Loriot e4f17622eb add a script to clean up a branch (or any svn directory of a package) 2011-05-04 13:55:42 +00:00
Eric Berberich 7ec44aefea update 2011-05-01 19:35:04 +00:00
Eric Berberich 4d4a4dc760 clean up 2011-04-30 07:57:09 +00:00
Laurent Rineau a71aff5e02 - Add ./ in rm -rf ./$gitName to avoid a disaster if gitName=/
- Fix syntax error: my bash does not like a space after "fi"
2011-04-29 17:22:01 +00:00
Eric Berberich fb11ed74b6 added info 2011-04-27 22:53:59 +00:00
Eric Berberich d3c1d3075e cleanup opts, fixed typo when cloning svn-clone 2011-04-27 22:48:36 +00:00
Eric Berberich 0874c628ec fixed branch names, added no-tags-option, internalized some functionality 2011-04-27 22:35:57 +00:00
Eric Berberich 489722a509 added clone location 2011-04-27 13:14:12 +00:00
Eric Berberich 79b50ca721 cleanup 2011-04-27 11:40:56 +00:00
Eric Berberich a6b28d128c fixed parameter 2011-04-26 22:39:48 +00:00
Eric Berberich fb2089d4e5 cleanup 2011-04-26 13:18:56 +00:00
Eric Berberich fe7a8b2709 clean up 2011-04-26 11:29:49 +00:00
Eric Berberich b29507289c cleanup 2011-04-26 10:32:01 +00:00
Eric Berberich b02ff964da new variable names 2011-04-26 09:45:14 +00:00
Eric Berberich 21af3a7322 added options 2011-04-26 09:10:17 +00:00
Eric Berberich a79ac57669 LAST 2011-04-26 09:02:38 +00:00
Eric Berberich 88071019f2 authors-file, skipFetch working, HEAD-revision 2011-04-26 08:33:58 +00:00
Eric Berberich 91e1deb5b2 added options 2011-04-26 08:18:17 +00:00
Eric Berberich ae2fd5f8f8 added initial version 2011-04-26 07:55:05 +00:00
Laurent Rineau 8fd77d212b Quote the script path, that can contain spaces. 2011-04-14 10:20:04 +00:00
Joachim Reichel 1560112ca7 Add script to check that the libraries can be built without using QPL'd files. 2011-03-10 20:42:43 +00:00
Laurent Rineau 9f1fd59afa Rename create_cgal_test_with_cmake to create_cgal_test
For the moment, it still creates file named "cgal_test_with_cmake"...
2011-03-03 15:48:55 +00:00
Laurent Rineau 728d10efc1 Cosmetic change 2011-03-03 15:45:55 +00:00
Laurent Rineau 5ae2f38ef5 This file now has a usage() function and complains against unknown command
line options
2011-03-03 15:45:36 +00:00
Laurent Rineau 9dc0e5715b Fix typo in the usage 2011-03-03 15:44:08 +00:00
Laurent Rineau 87e9facc98 cgal_test_with_cmake: display the error file at the end 2011-03-03 15:43:43 +00:00
Laurent Rineau d832c0bcac When SHOW_PROGRESS is non-null, the direction of localtestscript and
localbuildscript were wrong: the stderr output was not reported in the log
files.
2011-03-03 09:43:14 +00:00
Sébastien Loriot 017772877c do not catch CGAL_USER 2011-03-02 18:54:37 +00:00
Laurent Rineau f353d629ea Enhance the detection of compilation targets. The grep for main is not
sufficient. Use the fact that, in "make help", the target names have not
suffix, even on Windows.
2010-12-21 23:00:48 +00:00
Laurent Rineau d4029c2b0a Publish the demos tarball, if COLLECT_DEMOS_BINARIES is set. 2010-09-20 20:38:43 +00:00
Laurent Rineau b673e7dab6 Let this small script be executable 2010-09-15 13:55:30 +00:00
Laurent Rineau 2f702cdbf4 Add a script to create all zip files of demos, from test results. 2010-08-20 14:31:12 +00:00
Laurent Rineau f454eba61a Unless the -k option is used, the src/ directory is erased after the
compilation: it contains the build tree of CGAL libraries (that have been
copied in lib/). That saves a lot of space.
2010-07-07 16:00:13 +00:00
Laurent Rineau d659043fa2 Fix a typo, and make jom really work: we cannot specify targets that do not exist. 2010-06-23 11:12:32 +00:00
Laurent Rineau 09f3e63a51 Use JOM instead of NMAKE when possible.
http://labs.trolltech.com/blogs/2009/03/27/speeding-up-visual-c-qt-builds/
2010-06-23 10:46:45 +00:00
Laurent Rineau a12ef8ed3c Is that a typo?! The file should be writable, and not executable! 2010-06-23 08:52:41 +00:00
Laurent Rineau 0b4c4cf211 Well, lockfile is probably not what we want, but let's keep its use and
work-around its behavior: chmod u+x the created file.
2010-06-21 20:15:35 +00:00
Laurent Rineau cb510c9856 Cosmetic change: do not display the Date, and remove "revision", which is
already in the keyword substitution of $Revision$.
2010-06-18 08:50:09 +00:00
Laurent Rineau 9a9493322b Better using of svn keyword: autotest_cgal should announce its version (and
in the log file as well).
2010-06-18 08:38:43 +00:00
Laurent Rineau 1aa1d66cd9 Fix the use of $Id $ in a shell line 2010-06-18 08:15:11 +00:00
Laurent Rineau 39cfd48ebf Fix svn:keywords, and use it! 2010-06-18 08:14:07 +00:00
Laurent Rineau 034ced5cc3 Incorrect use of the function log(). 2010-06-17 09:39:06 +00:00
Laurent Rineau 680ae36873 More check of the lock file in autotest_cgal: the lock file will now
contain the PID of the running autotest_cgal process. That PID can be
checked and displayed if the lock cannot be acquired.
2010-06-17 09:33:00 +00:00
Sébastien Loriot d72337785c remove dependance on CGAL_PDB: merge from the branche created for that purpose
I do not remove the directory CGAL_PDB as I am allowed to use svn remove.
2010-06-10 17:26:38 +00:00
Sébastien Loriot 6ed72b9dba correct bug 2010-06-09 08:50:07 +00:00
Sébastien Loriot 52317dd49f add python script (replace_CGAL_NAMESPACE.py) to replace CGAL_BEGIN_NAMESPACE and CGAL_END_NAMESPACE
by namespace CGAL { and } //namespace CGAL. in all .h and .cpp files
in a directory.
Apply it to all packages in the trunk
Remove macro definition from the config.h file.
2010-06-09 07:37:13 +00:00
Laurent Rineau a6c33fecf6 Epic fail! :-( 2010-05-06 08:09:11 +00:00
Laurent Rineau 5d98fe4ac0 Its time to remove _with_cmake from our scripts names. Keep the
*_with_cmake version for compatibility
2010-05-05 13:34:12 +00:00
Laurent Rineau de5cf96067 Change so that CGAL-3.7-I-123 is symlinked as CGAL-3.7-I and
CGAL-3.7-Ic-124 is symlinked as CGAL-3.7-Ic.
2010-05-03 15:03:31 +00:00
Laurent Rineau 11d3a0655a Create CMakeLists.txt if it does not exist. 2010-03-11 09:43:46 +00:00
Laurent Rineau 1658badd6c Fix the way the version number is computed. Works now with -Ic- internal
releases.
2010-03-02 15:15:42 +00:00
Laurent Rineau c068360de7 Add newlines, to give a more readable result. 2010-02-26 11:48:00 +00:00
Laurent Rineau 9f2bd7d311 Improvements 2010-02-26 11:41:38 +00:00
Laurent Rineau c11d7f52f8 Add a new script to detect bad macros naming. 2010-02-26 11:18:34 +00:00
Laurent Rineau f1ea08f8d4 - Rework the way options are handled in that script (use case/esac instead
of a lot of if/fi).
- Allow to pass an URL to the script, to launch a specific testsuite from
  the URL of a tarball (without getting LATEST and so on).
2010-02-02 14:50:29 +00:00
Laurent Rineau 31ff303ac8 In create_new_release, if --do-it is used with --no-testsuite, display a
special message in the tag message log (to reassure everybody).
2010-02-02 14:32:40 +00:00
Laurent Rineau 01ec83fc8e Attempt with xz 2010-02-01 12:02:13 +00:00
Laurent Rineau a47f82c2d9 I forgot that line! 2010-01-31 13:33:23 +00:00
Laurent Rineau 185269032c Merged revisions 53906-53926,53928-53934 via svnmerge from
svn+ssh://lrineau@scm.gforge.inria.fr/svn/cgal/branches/CGAL-3.6-branch

........
  r53918 | lrineau | 2010-01-29 18:23:40 +0100 (Fri, 29 Jan 2010) | 12 lines
  
  Merge from trunk:
    | ------------------------------------------------------------------------
    | r53910 | stayeb | 2010-01-29 16:33:26 +0100 (Fri, 29 Jan 2010) | 1 line
    | Changed paths:
    |    M /trunk/Mesh_3/include/CGAL/Mesh_3/Lloyd_move.h
    |    M /trunk/Mesh_3/include/CGAL/Mesh_3/Mesh_global_optimizer.h
    |    M /trunk/Mesh_3/include/CGAL/Mesh_3/Mesh_sizing_field.h
    |    M /trunk/Mesh_3/include/CGAL/Mesh_3/Odt_move.h
    | 
    | Fix: ensure that no '0' is inserted in the sizing field.
    | ------------------------------------------------------------------------
........
  r53920 | lrineau | 2010-01-29 18:44:29 +0100 (Fri, 29 Jan 2010) | 2 lines
  
  Bug fixes in a demo.
........
  r53924 | pmachado | 2010-01-29 20:48:24 +0100 (Fri, 29 Jan 2010) | 2 lines
  
  Bug fix: pre-condition + case of three different spheres with 2 coincident
  radical planes (and the consequences).
........
  r53928 | lrineau | 2010-01-31 13:13:10 +0100 (Sun, 31 Jan 2010) | 2 lines
  
  Add a precision that AK/RS is not available on Windows.
........
  r53930 | lrineau | 2010-01-31 13:39:12 +0100 (Sun, 31 Jan 2010) | 2 lines
  
  NSIS installer for CGAL-3.6
........
  r53932 | lrineau | 2010-01-31 13:42:35 +0100 (Sun, 31 Jan 2010) | 2 lines
  
  script_cgal.nsi is no longer named after a specific version.
........
2010-01-31 13:02:15 +00:00
Laurent Rineau 13c7bd1167 Add a comment for later 2009-12-04 17:26:07 +00:00
Laurent Rineau ea6f0bee11 Revert previous commit from Sylvain, because tar-1.15, which is installed
on cgal.geometryfactory.com (an updated CentOS-5.4), does not know
the option --exclude-vcs.
2009-12-04 17:24:29 +00:00
Sylvain Pion 6adc693ac3 Abstract away from SVN... 2009-12-04 17:10:00 +00:00
Laurent Rineau 2cfd228ef6 Remove a useless 'cd' command in localtestscript: the target of the 'cd'
command is removed just after!
2009-11-19 13:01:00 +00:00
Laurent Rineau a8bcb00307 - Fix the LOG_CONFLICTS stuff.
- Add a macro CGAL_VERSION_STR in <CGAL/version.h>, which is equal to
  CGAL_VERSION, but tokenized as a string literal.
2009-11-18 15:01:08 +00:00
Laurent Rineau 6554b42606 Patch so that cmake has $PWD=CGAL-x.y-I-abc/cmake/platforms/..., instead of
CGAL-I/cmake/platforms/...

The consequence will be that $CGAL_DIR/CGALConfig.cmake will no longer
points to CGAL-I/... whatever version CGAL-I is.

(Patch tested locally. I hope that will no break the testsuite!)
2009-10-29 23:11:13 +00:00
Stéphane Tayeb e63d9a3009 Fix script create_assertions.sh 2009-10-07 13:17:16 +00:00
Stéphane Tayeb 2d4992d432 Add a commentary in create_assertions.sh to explain why there is no protective macro. 2009-10-06 16:00:13 +00:00
Stéphane Tayeb 8dca39193a Fix script create_assertions.sh to remove a warning when gcc is called with -fasm-blocks option on MacOSX. 2009-10-06 15:43:51 +00:00
Laurent Saboret ba5baf1fe1 Fixed misspellings 2009-10-02 08:21:41 +00:00
Sylvain Pion a8f7b70dbe Remove obsolete variables for FTP configuration. 2009-09-20 11:12:05 +00:00
Laurent Rineau ab684bf200 Use "-Ic" instead of "-candidates-I" to signal that a release is made from
candidates
2009-09-04 09:24:55 +00:00
Laurent Rineau 97d5929802 - Remove all directories whose name begins with "bench" from the public
release (CGAL-3.5 is affected as well).
- Fix the removal of .scm-urls files
2009-09-03 23:47:45 +00:00
Laurent Rineau 9598042b56 Remove verbosity on old perl implementation. 2009-09-03 23:39:49 +00:00
Laurent Rineau e27878147b Special naming for releases with candidates 2009-09-03 23:17:19 +00:00
Laurent Rineau abe7e6212d Minor change of the usage() function of the script 2009-09-03 22:50:11 +00:00
Laurent Rineau b638f505ec Add the handling of candidate packages to create_new_releases also 2009-09-03 22:47:54 +00:00
Laurent Rineau 8ea5c53c08 Major changes:
=============
- Add an option '-c' that triggers the use of "candidate packages" that can
  be added to trunk, or overriding packages in trunk.
- Now the created releases have a file named .scm-urls in all
  directories. Those files list the SVN URL of the packages that were used
  to create the files in that directories (including sub-directories). In
  particular, the .scm-urls file of the root of the tarball lists all
  packages that were used.

Minor changes:
=============
- The script now runs with "use warning" without any warning. It really
  found errors, such as:
    - Fix $SIG{QUIT} -> $SIG{EXIT} (the former does not exists)
- Small simplification of the tar command line, now that the
  global_dont_submit file exists.
2009-09-03 22:33:11 +00:00
Laurent Rineau 17c952de04 - Remove the need for include_in_release
- I had to modify a bit the handling of tar files, because the script now
  has to deal with empty tar files.
2009-09-01 15:55:05 +00:00
Laurent Rineau eb48da7760 Make the release creation process create symlinks for the last release. 2009-07-29 14:14:14 +00:00
Laurent Rineau f673bc6e58 Attempt to collect precompiled Windows demos from the Windows Release
testsuites.
2009-07-23 14:17:42 +00:00
Laurent Rineau ac86e1b70a Revert previous commit: one cannot setup the trap before acquiring the
lockfile, because we do not want the trap to be launched if the acquirement
makes the script exit!
2009-07-20 09:46:05 +00:00
Laurent Rineau 90d0abd973 Fix the error trap, so that it is setup before acquiring the lockfile. 2009-07-20 09:43:17 +00:00
Laurent Rineau f04ce7f387 revert revision 50480 2009-07-09 14:37:18 +00:00
Laurent Rineau a8c87f9a79 Attempt to fix the Envelope_3_Demo problem. 2009-07-08 16:50:03 +00:00
Laurent Rineau e05c535343 hack on Windows, where 'cp' does not copy the Windows ACLs 2009-07-07 11:20:57 +00:00
Laurent Rineau f4e9acb026 Move several log and log_done calls, so that the output is more clear. 2009-05-28 10:00:53 +00:00
Sylvain Pion 46c3843237 Remove pre-CMake scripts. 2009-05-09 16:21:46 +00:00
Laurent Rineau 7e94196306 - Use printf instead of echo.
- Only check the existence of a release of same name if --do-it is used.
2009-04-14 09:00:28 +00:00
Laurent Rineau 5024821866 Add a check in the code create_new_release, to avoid overwriting a old
release.
2009-04-14 08:58:18 +00:00
Sylvain Pion 2907b46b13 Remove log messages when using "-n". 2009-04-02 11:07:21 +00:00
Laurent Saboret 7815f845e0 Create CGAL-3.x-I symlink (as autotest_cgal used to do) 2009-03-30 16:00:20 +00:00
Laurent Rineau 614d1869ae Do not remove the lockfile if one fails to acquire it! 2009-03-18 08:58:06 +00:00
Fernando Cacciola fd1301b7c0 Replaced hardcoded CMAKE_VERBOSE_MAKEFILE with make VERBOSE=ON in the testsuite 2009-03-10 18:28:56 +00:00
Laurent Rineau c50131c8c9 Fix the compilation of the installation manual. Call cgal_manual in verbose mode. 2009-02-17 15:29:14 +00:00
Laurent Rineau 62ea46f98d Remove '\n' from VERSION file in internal releases. 2009-01-14 08:22:48 +00:00
Laurent Rineau d0f66de0ce Remove non-cmake old scripts 2008-12-22 14:18:52 +00:00
Laurent Rineau 870eae3556 Remove a minor bug (a sort of warning from the shell). 2008-12-18 22:48:27 +00:00
Laurent Rineau 9d3cdb5a50 Revert revision 47414, at least temporarily: if the VERSION file has a
end-of-line, then CMake scripts add a \n to CGAL_MINOR_VERSION! :-(
2008-12-17 09:25:19 +00:00
Laurent Rineau 1708dcf2ad Remove cgal_test *and* cgal_test_using_cmake. 2008-12-15 17:20:29 +00:00
Laurent Rineau 80cc2d1115 Minor: remove an empty-line 2008-12-15 16:27:41 +00:00
Laurent Rineau 1de4f63b5e The public releases now automatically includes
doc_html/installation_manual/.
2008-12-15 16:01:45 +00:00
Laurent Rineau f83377b858 - Add a new option --no-testsuite, to allows to make real internal releases
without triggering testsuites.
- Add support for NSIS under NSIS, so that the Windows installer is created
  by the release making process itself.
2008-12-15 15:34:19 +00:00
Laurent Rineau fee9f7a890 Add an end-on-line at the end of the VERSION file. 2008-12-12 14:12:57 +00:00
Laurent Rineau a8f81c5e2c Add a end-of-line at the end of the "VERSION" file. 2008-12-12 14:02:07 +00:00
Laurent Rineau bd66a53bf9 Update to the create_new_release script: add an option --tag, to create
internal releases but not publish them.
2008-12-10 11:15:05 +00:00
Laurent Rineau e51e116902 Remove <CGAL/Test/*> and <CGAL/Testsuite/*> headers from public releases. 2008-12-08 14:02:08 +00:00
Laurent Rineau 91841a4e95 Fix typo. 2008-12-08 11:56:50 +00:00
Laurent Rineau 21ddbbad38 New way to name internal releases and numbers 2008-12-08 10:57:58 +00:00
Laurent Rineau 17000a2347 Update check_licenses, so that it can be run with latest releases. 2008-12-08 09:56:35 +00:00
Laurent Rineau 817cc8a483 No longer create makefile and cgal_test files in examples/tests/demos. Fix create_internal_release. 2008-12-05 13:10:41 +00:00
Laurent Rineau 0b8119ce79 Al last, non buggy version. 2008-12-03 17:01:55 +00:00
Laurent Rineau 622d63fcb3 Another version of create_internal_release, so that it correctly deals with
dont_submit files and global_dont_submit.
2008-12-03 16:23:15 +00:00
Laurent Rineau b4a52dd9eb create_internal_release can now read a global dont_submit file. 2008-12-03 15:37:35 +00:00
Fernando Cacciola 911ef1d18a Fix to create CGAL_DIR/cmake/platforms which is no longer in the tarball 2008-11-04 18:28:46 +00:00
Fernando Cacciola 593e473390 Create CGAL_DIR/cmake/platforms which is no longer in the tarball 2008-11-04 17:57:43 +00:00
Fernando Cacciola 0046cc19df Removed uneeded set of CMAKE_BUILD_TYPE 2008-11-04 13:11:01 +00:00
Fernando Cacciola d70bdaea18 Prefixed cmake variables with CGAL_ 2008-10-23 14:59:02 +00:00
Laurent Rineau c97eaa2f0e When where are in a demo/ sub-directory, call cgal_test_with_cmake with "--no-run". 2008-10-21 09:01:47 +00:00
Laurent Rineau 9436938680 Minor improvement in localtestscript-redo-results-collection 2008-10-17 08:49:24 +00:00
Laurent Rineau 275d408829 Rename to cgal_build. 2008-10-14 13:46:34 +00:00
Laurent Rineau dc22e7f287 Little update: allow to call a specific target. 2008-10-14 13:45:27 +00:00
Joachim Reichel 30282685d4 omit file extensions without any hits 2008-10-12 14:02:09 +00:00
Laurent Rineau 8e2ce1e7ca Add support for USE_LATEST_UNZIPPED in autotest_cgal
That was already in autotest_cgal_using_cmake
2008-10-07 14:00:36 +00:00
Laurent Rineau 36567b77e8 Add a "do what i mean" script, to replace the following steps:
- create a default CMakeLists.txt with cgal_create_cmake_script,
  - call "cmake ." (it will work only if CGAL_DIR is defined in the
    environment),
  - call "make -f Makefile" (-f Makefile is needed if an old file
    "makefile" is here).
2008-10-03 13:47:11 +00:00
Laurent Rineau 5be30c1228 Fix testsuites about Core. 2008-10-03 08:47:14 +00:00
Laurent Rineau 3be382a3a6 Bug fix: results were incorrectly collected and published twice: once just
after the libraries compilation, and once after the tests suite has run.
2008-10-02 07:42:33 +00:00
Laurent Rineau bc66de2b4c Fix to avoid warnings about a "broken pipe". 2008-09-29 14:16:45 +00:00
Laurent Rineau 54a1337d49 - Followup to r45799: "Tricks with file descriptors, so that I can receive
by email (sended by crond) the warnings about conflicting files."
- Copy demo/icons and demo/resources in test/ (during internal release
  creation), so that demos can find the resources.
2008-09-29 12:35:57 +00:00
Laurent Rineau 8a09fdabdf Tricks with file descriptors, so that I can receive by email (sended by
crond) the warnings about conflicting files.
2008-09-26 10:24:43 +00:00
Laurent Rineau 2e5889e7a9 Allow to relaunch the "end" of the testsuite: results collection, and
results re-submission.
2008-09-26 10:23:34 +00:00
Laurent Rineau fa7036293a Improve generated scripts cgal_test_with_cmake:
- Do not try to compile targets that have not been configured. Hopefully
    cmake gives us "make help".
  - Do not try to clean if nothing has been built.
2008-09-25 09:14:47 +00:00
Fernando Cacciola 7e5bebf12b Run per-host test on background rather than per host+platform 2008-09-18 18:29:51 +00:00
Fernando Cacciola 73101b5465 Removed TESTSUITE_* flags 2008-09-17 18:53:08 +00:00
Fernando Cacciola 7630512654 Added warning about deprecated use of TESTSUITE_* environment variables (before effective removal) 2008-09-16 18:43:00 +00:00
Fernando Cacciola e0bb152d63 Prevented a failed library to abort compilation of the others 2008-09-16 18:32:03 +00:00
Laurent Rineau d5d232705f Replace echo -n with printf. 2008-09-12 12:50:02 +00:00
Laurent Rineau 14db4fe00c Blacklist "icons" and "resources" in create_internal_release, so that
icons/ and resources/ do not get makefile, cgal_test, cgal_test_with_cmake
and CMakeLists.txt
2008-09-10 13:13:28 +00:00
Laurent Rineau 984ed953ac Fix revision 45484: the if branch was never reached because i was using an
incorrect syntax to check the equality of two string.

Revision 45484 was:
"Mix my previous commit (revision 45481): that script is perl, and not sh!"

Revision 45481 was:
"Blacklist "icons" and "resources" in create_internal_release, so that
icons_Demos and resources_Demos are not created in internal releases."
2008-09-10 11:58:41 +00:00
Laurent Rineau b88c403c13 Typo 2008-09-10 11:22:08 +00:00
Laurent Rineau dfd7e8e44c Mix my previous commit (revision 45481): that script is perl, and not sh! 2008-09-10 11:20:22 +00:00
Sylvain Pion 94d81bcfd5 Add cgal_test script that avoids the need to manually call create_cgal_test.
Same for Cmake.
2008-09-10 10:54:06 +00:00
Laurent Rineau 1be2c0b381 Blacklist "icons" and "resources" in create_internal_release, so that
icons_Demos and resources_Demos are not created in internal releases.
2008-09-10 10:44:21 +00:00
Laurent Rineau bf796f710d Let testers define flags for release and debug modes if they want (and I
want).
2008-09-08 15:58:21 +00:00
Laurent Rineau 3f23b72e45 Force LC_ALL and LANG to "C", so that the test results are in english and
nothing else.
2008-09-08 15:47:51 +00:00
Laurent Rineau 54493b233b Force LC_ALL and LANG to "C", so that the test results are in english and
nothing else.
2008-09-08 09:44:12 +00:00
Laurent Rineau 3992f06543 - Add a flag -k that prevent autotest_cgal_with_cmake to remove local test
directory.
- Fix the flag -s (show progress), so that it also show the results of the
  local build script.
2008-09-08 09:29:31 +00:00
Laurent Rineau ad8cfc972b revert revision 45327: "Remove submitted makefiles (cmake overrides them)." because it is unneeded. 2008-09-05 08:51:49 +00:00
Laurent Rineau 7d9c7599b3 Remove submitted makefiles (cmake overrides them). 2008-09-05 08:46:05 +00:00
Fernando Cacciola ab07405874 Use unique names for example, demo and test targets
Renamed CGAL-Qt as CGAL-Qt3
Re-spelled cgal components as CORE, ImageIO, PDB, Qt3 and Qt4
2008-09-04 18:58:09 +00:00
Fernando Cacciola 161254324b Added package filter 2008-09-01 21:16:41 +00:00
Sylvain Pion 587ca0290b Add --no-verbose option to wget to make it less verbose (remove progress bar). 2008-08-22 08:31:25 +00:00
Laurent Rineau 30d9bd5b9b To be coherent with next line: one cannot say "REMOVING LOCAL_TEST_DIR" and
not do it.
2008-08-21 09:24:02 +00:00
Laurent Rineau 6e199ed734 - Make CGALimageIO compile at once (and not in two compilation units).
- Add $URL$ and $Id$ at some places.
2008-08-21 09:22:39 +00:00
Laurent Rineau cfae52022b Make ${CGAL_TESTER} appear in the name of the test results file that is
uploaded to the testsuite collection machine.
2008-08-20 09:47:49 +00:00
Sylvain Pion 60a380e2f4 Remove the "v" verbose option to tar, as it obscures the useful info
in the logs for not much gain, I think.
2008-08-19 09:43:46 +00:00
Fernando Cacciola 0949438e32 Improved autotest_cgal_with_cmake/collect_cgal_testresults_from_cmake for multiple hosts and platforms 2008-08-13 22:21:38 +00:00
Sylvain Pion ddbb01157f Updates after the removal of changes.txt files. 2008-07-24 18:27:12 +00:00
Fernando Cacciola 5774e5468a Integrate main autotest logs with the results specific to the Installation package 2008-07-18 14:12:14 +00:00
Fernando Cacciola b2aedb0026 Improved error reporting and collection in a multiple hosts scenario 2008-07-17 15:17:00 +00:00
Fernando Cacciola 2902a241f9 Allow MYSHELL to be missing from .autocgalrc since when unsued testers just set it to "" 2008-07-16 21:30:29 +00:00
Sylvain Pion 2eb0d8f9e9 certainly() -> possibly(). 2008-07-14 11:16:41 +00:00
Sylvain Pion 9d7a609ff2 Make assertions trigger an error only for *certain* conditions (using CGAL::certainly()).
This is useful for interval arithmetic code.
(replay of r44002 with the header order hopefully fixed)
2008-07-10 21:49:17 +00:00
Laurent Rineau dbee2e2f50 Add a "trap" command so that the script erases its lock file even if it
exists prematurely.
2008-07-07 09:16:03 +00:00
Sylvain Pion 2b4ebf01f7 Undo r44002 as it's buggy 2008-07-06 20:47:29 +00:00
Sylvain Pion 514a17ad4f Improve the interaction of assertions and interval computations.
Things like "CGAL_assertion(denominator != 0)" produced assertion failures for no gain.
So now, the assertion is triggered only if the condition is certain, using CGAL::certainly().
That is, change the following in all assertion files :
  ((EX)?(static_cast<void>(0)): ::CGAL::assertion_fail( # EX , __FILE__, __LINE__))
to :
  (CGAL::certainly(EX)?(static_cast<void>(0)): ::CGAL::assertion_fail( # EX , __FILE__, __LINE__))
2008-07-06 17:05:47 +00:00
Fernando Cacciola 81e9aa62d7 Improved error reporting in autotesting 2008-06-29 22:06:36 +00:00
Fernando Cacciola 731f291bad Autotesting now using global reference release 2008-06-24 17:09:33 +00:00