Page 1 of 1

tarball differences on GitHub

Posted: Aug 19, 2018 8:53 pm
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: Aug 20, 2018 1:17 am
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: Aug 20, 2018 7:33 am
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: Aug 20, 2018 8:21 am
by atrol
dvl wrote:
Aug 20, 2018 7:33 am
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:
Aug 20, 2018 1:17 am
GitHub is just the source, used by developers.
It comes without 3rd party code and documentation.

Re: tarball differences on GitHub

Posted: Aug 20, 2018 3:56 pm
by dvl
atrol wrote:
Aug 20, 2018 8:21 am
dvl wrote:
Aug 20, 2018 7:33 am
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.