Commit Graph

963 Commits

Author SHA1 Message Date
Laurent Rineau 64763c41b0 The file to extract was moved just a few line above! 2019-11-08 11:55:42 +01:00
Laurent Rineau 65dd48a94c Fix the Windows-installer generation 2019-11-08 11:47:09 +01:00
Laurent Rineau e10ace6bcf Merge pull request #4334 from sloriot/CGAL-SPDX_cleanup_fixes
Fix some remaining license notice + add a missing LicenseRef-Commercial
2019-11-06 17:45:23 +01:00
Sébastien Loriot 0d4963f455 also detect BSL 2019-11-04 09:24:22 +01:00
Laurent Rineau 21fedbf0ad Take the version number from `public_release_name` 2019-10-31 18:34:08 +01:00
Sébastien Loriot 9af500c5e5 make the message more verbose 2019-10-28 10:52:28 +01:00
Laurent Rineau 30b02eea63 Merge pull request #4303 from sloriot/CGAL-SPDX_updates
Update SPDX tags
2019-10-25 16:26:13 +02:00
Laurent Rineau 1d6fba5a39 Also create .zip files for -examples and -library tarballs 2019-10-22 18:16:35 +02:00
Laurent Rineau 620d90961d replace tarballs creation by the script feature GENERATE_TARBALLS=ON 2019-10-22 12:50:28 +02:00
Laurent Rineau 30479e5c12 Fix the date in man pages 2019-10-21 18:46:18 +02:00
Sébastien Loriot dfe3ce485d special case for Random Forest 2019-10-20 10:45:13 +02:00
Sébastien Loriot 5dfd8b753f check for the absence of license notice in headers 2019-10-20 01:01:10 +02:00
Sébastien Loriot 8832addb4e update to read SPDX tags (GPL-3+, LGPL 3+, and LGPL3 are enough for us) 2019-10-20 00:36:39 +02:00
Sébastien Loriot 7c63219861 Manual removal of license notice + SPDX updates 2019-10-19 17:14:18 +02:00
Sébastien Loriot 254d60f642 First pass on removing license notice in header for GPL files 2019-10-19 15:23:19 +02:00
Sébastien Loriot 7356421d80 introduce Commercial license SPDX tag 2019-10-19 12:15:19 +02:00
Sébastien Loriot 9bd9c68b83 update LGPL[23]+ and GPL[23]+ SPDX tags
ack -l --no-svg "SPDX-License-Identifier: GPL-3.0\+" | xargs sed -i "s/SPDX-License-Identifier: GPL-3.0+/SPDX-License-Identifier: GPL-3.0-or-later/"
ack -l --no-svg "SPDX-License-Identifier: LGPL-3.0\+" | xargs sed -i "s/SPDX-License-Identifier: LGPL-3.0+/SPDX-License-Identifier: LGPL-3.0-or-later/"
ack -l --no-svg "SPDX-License-Identifier: GPL-2.0\+" | xargs sed -i "s/SPDX-License-Identifier: GPL-2.0+/SPDX-License-Identifier: GPL-2.0-or-later/"
ack -l --no-svg "SPDX-License-Identifier: LGPL-2.0\+" | xargs sed -i "s/SPDX-License-Identifier: LGPL-2.0+/SPDX-License-Identifier: LGPL-2.0-or-later/"
2019-10-18 21:57:54 +02:00
Sébastien Loriot dd00593e86 add a comment 2019-10-16 23:53:59 +02:00
Laurent Rineau 5075a895f7 Merge branch 'releases/CGAL-4.14-branch' 2019-09-06 14:14:29 +02:00
Laurent Rineau 73500e8d3c Merge branch 'releases/CGAL-4.13-branch' into releases/CGAL-4.14-branch 2019-09-06 14:14:13 +02:00
Sébastien Loriot 4b28db79f0 update script 2019-09-04 16:19:10 +02:00
Maxime Gimeno fe7d83d67e Add a test to replace an empty number of processors by 1 and move --timeout sooner in the options to prevent an eventual other parsing error. 2019-08-13 10:35:35 +02:00
Sébastien Loriot 25a05e9f4c Merge branch 'CGAL-named_function_parameters-4.14' into master
Conflicts resolved by hand
2019-07-28 23:46:43 +02:00
Sébastien Loriot 2f81a21523 Merge 'CGAL-named_function_parameters' for 4.13-branch into 4.14-branch
Conflicts resolved by hand
2019-07-28 22:30:13 +02:00
Sébastien Loriot 41ef56f8ad Merge remote-tracking branch 'cgal/releases/CGAL-4.14-branch' into HEAD 2019-07-18 16:57:27 +02:00
Sébastien Loriot 560c77f567 rename named function parameter class 2019-07-15 06:25:02 +02:00
Sébastien Loriot 0343659467 add script to ease the update to the new CGAL np 2019-07-14 22:46:46 +02:00
Maxime Gimeno f3697f1b2b Move logging functions in the script to avoid having to ask for CGAL-I before it is set. 2019-07-09 14:17:04 +02:00
Laurent Rineau 39a245220a Merge pull request #3660 from mglisse/NewKernel_d-lazy_Epeck_d-glisse
Epeck_d
2019-07-01 11:16:33 +02:00
Laurent Rineau 32f80cbece Merge pull request #4018 from lrineau/CGAL-refresh_cmake_minimum_required-GF
CMake>=3.13: opt for for new policies up to 3.15
2019-07-01 11:16:30 +02:00
Laurent Rineau a236d22e2d Merge pull request #3730 from sloriot/CGAL-create_tarballs
Add an option to create tarballs while creating a release
2019-06-20 14:21:16 +02:00
Laurent Rineau 2a5b558eb5 Merge branch 'master' into NewKernel_d-lazy_Epeck_d-glisse 2019-06-20 10:28:01 +02:00
Laurent Rineau 4fbf00fb8a CMake>=3.13: opt for for new policies up to 3.15 2019-06-19 14:34:59 +02:00
Sébastien Loriot e07ff8846f add a little doc 2019-06-13 14:11:47 +02:00
Sébastien Loriot 453313fae6 script to add label PR merged in a release since the previous release (not a bug-fix release) 2019-06-13 13:54:43 +02:00
Mael Rouxel-Labbé 2848158354 Fix typos 2019-05-20 08:54:04 +02:00
Laurent Rineau 90782d4b7f Revert the merge of two pull-requests that target CGAL-4.14-branch
- Revert "Merge pull request #3857 from MaelRL/CGAL-Fix_duplicate_non_manifold_vertices-GF"
- Revert "Merge pull request #3898 from lrineau/Mesh_3-stop_during_protection-lrineau"
2019-05-14 17:50:45 +02:00
Laurent Rineau 33a058c0f6 Merge pull request #3832 from maxGimeno/Testsuite_with_ctest-Get_back_the_blue_squares-GF
Testsuite with CMake: get Back the Blue Squares
2019-05-06 15:45:59 +02:00
Andreas Fabri 8c4368cb2d The file named copyright has no .txt suffix 2019-05-06 12:27:45 +02:00
Andreas Fabri 60b1c06f4d Do not create README Add figure and example 2019-05-03 16:28:57 +02:00
Andreas Fabri dd4c8e6996 Do not create dont_submit, src, scripts, developer_scripts as we do not need them for new packages 2019-05-03 16:21:18 +02:00
Maxime Gimeno 61a9c78036 Rename scripts 2019-04-29 15:38:44 +02:00
Maxime Gimeno 5b03adfbb7 also add it to the "r" reports 2019-04-25 11:04:27 +02:00
Maxime Gimeno 00c0e4e85a Add scm-branch content to reports. 2019-04-25 10:30:18 +02:00
Maxime Gimeno ff012669f5 enable c++14 in check_headers 2019-04-16 10:12:11 +02:00
Maxime Gimeno b4109fd29a Change Installation/Test_report to NOT erase the initial results when appending the cmake output. 2019-04-11 09:34:01 +02:00
Maxime Gimeno 78db3f646d Solve conflicts 2019-04-09 10:04:44 +02:00
Maxime Gimeno 591a25ec1b Fix 'r' writing in the end of the process. 2019-04-09 09:47:05 +02:00
Maxime Gimeno b3c24ec196 Fix paths for remote case. 2019-04-05 10:19:42 +02:00
Maxime Gimeno 9ae753c216 Fix cmake warning about CGAL_ROOT and add cmake results in the end of the "not ignored tests" reports 2019-04-04 12:44:57 +02:00
Maxime Gimeno b1aeeeee3e Removes the linit of 1024 bits for the logs 2019-04-04 10:37:56 +02:00
Maxime Gimeno e0e18b35b5 Add a script to get back the information from the untested packages and put back the blue squre. 2019-04-03 15:08:41 +02:00
Laurent Rineau ea145c71fe Merge pull request #3759 from maxGimeno/Cross_compilation-Update_scripts-GF
Testsuite : Use ctest
2019-03-26 17:01:56 +01:00
Laurent Rineau 5ef409f74e Propagate flags (like -x) to one bash to another 2019-03-26 10:40:02 +01:00
Laurent Rineau aa743e574b Set CMAKE_VERBOSE_MAKEFILE
That will allow to see the compilation commands.
2019-03-26 10:39:47 +01:00
Laurent Rineau eab794926f Set BUILD_TESTING, otherwise CTest does not see any test 2019-03-26 10:39:17 +01:00
Maxime Gimeno 7c985da973 set -DCGAL_TEST_SUITE even if not usng git branch 2019-03-19 10:22:53 +01:00
Maxime Gimeno 2b00f0dba0 FINISH autotest_cgal_with_ctest : from git, to another branch, full ctest testsuite. 2019-03-15 13:05:36 +01:00
Maxime Gimeno 1a6ef33010 WIP from git and upload to private page 2019-03-14 16:36:11 +01:00
Maxime Gimeno f070e4345d WIP from git branch 2019-03-13 16:20:14 +01:00
Maxime Gimeno 988b0a78cd Add -DRUNNING_CGAL_AUTO_TEST=TRUE to the cmake calls 2019-03-13 13:05:52 +01:00
Maxime Gimeno 53a60823a3 Remove remaining debugging code 2019-03-13 12:44:24 +01:00
Maxime Gimeno 7c862f759e Fix ctest call and clean autotest_cgal_with_ctest 2019-03-13 09:26:55 +01:00
Maxime Gimeno 330c6ec9b1 Merge pull request #3759 from maxGimeno/Cross_compilation-Update_scripts-GF
Testsuite : Use ctest
2019-03-12 17:04:19 +01:00
Maxime Gimeno be07aa1267 Write CGAL_NR at the end of the testsuite 2019-03-12 15:07:49 +01:00
Maxime Gimeno 64cfc19d68 Remove -d option. Any HOST declared as not localhost will be considered as a remote host and launch the cross compilation. 2019-03-12 14:58:11 +01:00
Maxime Gimeno 7c0d23b18f Fix CGAL_DIR and change names in CGAL_add_tests 2019-03-12 10:13:07 +01:00
Maxime Gimeno 57a532dbc7 update script 2019-03-11 12:07:04 +01:00
Maxime Gimeno dbb2512602 un-hard code the variables for docker and pull instead of building. 2019-03-06 14:57:14 +01:00
Maxime Gimeno aa76cd02b6 Use a single script for testsuite with or without docker 2019-03-06 14:17:48 +01:00
Maxime Gimeno 3430223a9a WIP 2019-03-05 16:42:43 +01:00
Sébastien Loriot 4bc6e9713a add an option to create tarballs 2019-03-04 13:46:28 +01:00
Laurent Rineau eb9687aaf4 Sneak in the same PR a small patch to cgal_create_release_with_cmake
`TESTSUITE` and `PUBLIC` are exclusive. Let's make `TESTSUITE`
the dominant one.
2019-02-28 14:28:59 +01:00
Laurent Rineau a50ba04d40 Extend the width of the size to 6, to avoid truncation 2019-02-19 17:53:10 +01:00
Laurent Rineau 7acce50d0e Merge branch 'releases/CGAL-4.13-branch' 2019-02-18 16:55:46 +01:00
Laurent Rineau ea279fb38c Merge branch 'releases/CGAL-4.12-branch' into releases/CGAL-4.13-branch 2019-02-18 16:54:29 +01:00
Laurent Rineau 3b6715cef5 replaced by Maintenance/public_release/scripts/precompiled_demos_zips 2019-02-18 16:54:06 +01:00
Marc Glisse 328f2bdbc6 Replace -std=c++11 with c++1y. 2019-02-12 11:23:25 +01:00
Laurent Rineau b3fbbdfd83 Merge branch 'releases/CGAL-4.13-branch' 2019-02-07 13:33:49 +01:00
Laurent Rineau 9c31f25653 trivial fix (Python issue) 2019-02-07 13:29:39 +01:00
Sébastien Loriot e4cbae525c Merge remote-tracking branch 'cgal/releases/CGAL-4.13-branch' into HEAD 2019-01-31 11:25:26 +01:00
Sébastien Loriot 99d842401a Merge remote-tracking branch 'cgal/releases/CGAL-4.12-branch' into HEAD 2019-01-31 11:24:50 +01:00
Sébastien Loriot 624cf0793f remove applications directory 2019-01-22 16:03:52 +01:00
Sébastien Loriot c606cde260 rename variable 2019-01-15 13:22:39 +01:00
Sébastien Loriot 59823772fd update cmake minimal version 2019-01-15 11:20:18 +01:00
Sébastien Loriot decdb9dd95 filter out Test and Testsuite directory in release mode 2019-01-14 15:47:51 +01:00
Sébastien Loriot 0cb112d941 add an option to only include a subset of packages into a release 2019-01-14 15:27:00 +01:00
Laurent Rineau c14fda590d
Merge branch 'master' into CGAL-Fix_CTest-GF 2018-12-10 16:52:33 +01:00
Laurent Rineau 91107dce9b Improve the script git-show-content
It might need `--no-pager`, to avoid iterating on the pager screens.
2018-12-07 11:38:14 +01:00
Laurent Rineau 0027fc7a4e Add a usage 2018-11-20 15:42:48 +01:00
Laurent Rineau 6e06f20382 Small improvement to that script
I hijack the PR to slip a small improvement to that script.
2018-11-19 14:37:08 +01:00
Laurent Rineau 821f9c015e Merge pull request #3311 from sloriot/Doc-Pkg_link_name
Update the name of package names reference links
2018-10-29 10:27:53 +01:00
Maxime Gimeno 2b69d565fe Don't use \\ after 'EOF' 2018-10-19 15:44:35 +02:00
Laurent Rineau 72c7e73be7 Fix for those scripts
Use the `${INIT_FILE:+..}` syntax, for compatibility when `INIT_FILE`
is unset or empty.
2018-10-19 15:44:35 +02:00
Laurent Rineau e2e2bdfa49 Compatibility: no -C option if INIT_FILE is unset or null 2018-10-19 15:44:35 +02:00
Maxime Gimeno fc830f8a3f Add -C option to all `cmake` calls in the testsuite mechanism 2018-10-19 15:44:34 +02:00
Marc Glisse 347289abf8
Pasto 2018-10-16 15:10:05 +02:00
Laurent Rineau a7c5c92f2f Check for CMakeLists.txt also in demos 2018-10-16 12:42:49 +02:00
Laurent Rineau e5bb2cf446 Merge pull request #2721 from maxGimeno/Bundle_demo_script-GF
Automatically create a bundle of the Polyhedron demo for Linux.
2018-10-08 15:13:54 +02:00
Laurent Rineau 2615722b75 Merge pull request #3294 from maxGimeno/Dont_use_cmakecache_for_tests-GF
Maintenance: Fix the Release Mode for testsuite platforms
2018-10-08 15:13:43 +02:00
Laurent Rineau 18f3ec018a Merge pull request #3307 from maxGimeno/Maintenance-Use_cgal_create_release_with_cmake-GF
Maintenance: Use cmake to create a release
2018-10-08 15:13:40 +02:00
Sébastien Loriot 9290af3f5f update script 2018-10-08 10:28:55 +02:00
Maxime Gimeno 39ff5772ba Fix commentary and missing --git-dir 2018-10-03 15:38:58 +02:00
Maxime Gimeno 3222ff8572 Create .scm-branch if TESTSUITE 2018-10-03 13:57:50 +02:00
Laurent Rineau 0c1b4f3ab7 finally it works
- Do not use the current working directory, in cgal_create_release_with_cmake.cmake
- Fix the use of public_release_name
2018-10-02 14:21:31 +02:00
Laurent Rineau 4002d3d04b Use the file public_release_name 2018-10-02 12:55:48 +02:00
Maxime Gimeno e041253f4b Add cd SOURCES_DIR before call to script. 2018-10-02 11:15:21 +02:00
Laurent Rineau 435c326a0e hot-fix: now that branch is in cgal-public-dev 2018-09-27 15:43:51 +02:00
Maxime Gimeno 29a086855a Don't use \\ after 'EOF' 2018-09-17 14:21:04 +02:00
Maxime Gimeno 359efe2c96 Add -DTESTSUITE=ON to the no-public config 2018-09-13 11:33:40 +02:00
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