Page 1 of 1

tarball differences on GitHub

Posted: 20 Aug 2018, 01:53
by dvl
Is there a reason why the vendor directory is missing from the tarball on github? I'm guessing it is because GitHub is your working copy and SourceForge is your release proper.

Code: Select all

[dan@pro02:~/tmp/mantisbt-release-2.16.0] $ find . -name vendor
[dan@pro02:~/tmp/mantisbt-release-2.16.0] $
But that directory is present on the download from https://sourceforge.net/projects/mantis ... le/2.16.0/

Code: Select all

[dan@pro02:~/tmp] $ tar -xzf ~/Downloads/mantisbt-2.16.0.tar.gz 
[dan@pro02:~/tmp] $ cd mantisbt-2.16.0
[dan@pro02:~/tmp/mantisbt-2.16.0] $ ls vendor
adodb             composer          doctrine          nikic             phpspec           psr               symfony
autoload.php      container-interop erusev            phpdocumentor     phpunit           sebastian         vboctor
bin               dapphp            guzzlehttp        phpmailer         pimple            slim              webmozart
[dan@pro02:~/tmp/mantisbt-2.16.0] $
I am about to change the FreeBSD port of mantis from using GitHub to using SourceForge because of this difference.

Re: tarball differences on GitHub

Posted: 20 Aug 2018, 06:17
by atrol
The official download for end users is Sourceforge
https://www.mantisbt.org/download.php
https://sourceforge.net/projects/mantis ... is-stable/

GitHub is just the source, used by developers.
It comes without 3rd party code and documentation.

You have to install Composer to install the 3rd party code.
You have to install Publican to generate the docs.

Re: tarball differences on GitHub

Posted: 20 Aug 2018, 12:33
by dvl
The vendor directory was included in GitHub releases prior to 2.16.0

Was the omission of the vendor directory for 2.16.0 done on purpose?

Will the vendor directory be missing from all future GitHub releases?

I ask because 2.16.0 is currently broken on FreeBSD because it uses GitHub. Knowing the above answers will help us decide which way to proceed. I am sure this affects other packaging efforts as well.

Re: tarball differences on GitHub

Posted: 20 Aug 2018, 13:21
by atrol
dvl wrote: 20 Aug 2018, 12:33 The vendor directory was included in GitHub releases prior to 2.16.0
Really? Please provide a link.

I am still pretty sure that this is true.
atrol wrote: 20 Aug 2018, 06:17 GitHub is just the source, used by developers.
It comes without 3rd party code and documentation.

Re: tarball differences on GitHub

Posted: 20 Aug 2018, 20:56
by dvl
atrol wrote: 20 Aug 2018, 13:21
dvl wrote: 20 Aug 2018, 12:33 The vendor directory was included in GitHub releases prior to 2.16.0
Really? Please provide a link.
I got this wrong, sorry. My error.

I was downloading from SF, not GH. I apologize.