Skip to Content.
Sympa Menu

cgal-discuss - Re: [cgal-discuss] How to convert git clone into tarball? They are different

Subject: CGAL users discussion list

List archive

Re: [cgal-discuss] How to convert git clone into tarball? They are different


Chronological Thread 
  • From: "Sebastien Loriot (GeometryFactory)" <>
  • To:
  • Subject: Re: [cgal-discuss] How to convert git clone into tarball? They are different
  • Date: Thu, 04 Feb 2016 09:13:08 +0100
  • Authentication-results: mail2-smtp-roc.national.inria.fr; spf=None ; spf=Pass ; spf=None
  • Ironport-phdr: 9a23:utVKchciUH8ho6v2sNQUjxBslGMj4u6mDksu8pMizoh2WeGdxc68Yh7h7PlgxGXEQZ/co6odzbGG7Oa5CCdZuM/JmUtBWaIPfidNsd8RkQ0kDZzNImzAB9muURYHGt9fXkRu5XCxPBsdMs//Y1rPvi/6tmZKSV3BPAZ4bt74BpTVx5zukbvipNuKMk4R3WP1SIgxBSv1hD2ZjtMRj4pmJ/R54TryiVwMRd5rw3h1L0mYhRf265T41pdi9yNNp6BprJYYAu2pN5g/GLdXBTBjP2Eu79DwrjHCSxGO7z0SSDY4iB1NVkL+4RvzRYvwvy2yku1n2S6GdY3ZQLcxVCi4/oliQwPvkjZGfXZt62XQkM13kORepDquohV+x8jfZ4TDZ6k2Rb/UYd5PHTkJZc1WTSEUWo4=
  • Organization: GeometryFactory

On 02/01/2016 04:01 PM, John Harvey wrote:
Hello all,

If I want to look at CGAL 4.7 source code, I can do the following:
1) git clone https://github.com/CGAL/cgal.git
2) cd cgal
3) git checkout releases/CGAL-4.7

When I do this, I see over 100 subdirectories.

Next, I take a look at the CGAL-4.7 release tarball found here:
https://github.com/CGAL/cgal/releases/download/releases%2FCGAL-4.7/CGAL-4.7.tar.xz

I see that the directory structure is very different. The manual
(http://doc.cgal.org/latest/Manual/installation.html) does seem to
indicate that this is expected. However, I could not find where it
explains how the tarball is made from the original git source code.

Is that something that somebody could explain to me?

Best regards,
-John

About the layout see:
https://github.com/CGAL/cgal#cgal-git-repository-layout


To create a flat release from a branch you can use the bash script
in Scripts/developer_scripts/create_internal_release:

create_internal_release -r CGAL-FOOBAR -d /PATH/WHERE/THE/RELEASE/WILL/BE -a /PATH/TO/cgal.git -l /tmp/release_creation.lock

/PATH/WHERE/THE/RELEASE/WILL/BE will contain a directory CGAL-FOOBAR
with the flat version of the branch.

Note that a branch could be used instead:
https://github.com/CGAL/cgal/blob/master/INSTALL.md

Sebastien.




Archive powered by MHonArc 2.6.18.

Top of Page