Commit Graph

475 Commits

Author SHA1 Message Date
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