Re: Dealing with .gitattributes and export-ignore for test suites on GitHub

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




Dne 30.9.2017 v 18:09 François Kooman napsal(a):
> Hi,
>
> I'm packaging a PHP library [1] that is hosted on GitHub and has a
> .gitattributes file that uses export-ignore to not make the test suite
> directory part of the archive. As I want to run the unit tests in %check
> during package build, this is a bit of a problem. I see two approaches:
>
> 1. ask upstream to remove test suite directory from .gitattributes
> (probably won't work);
> 2. git clone the source and make my own archive after throwing away
> .gitattributes

3. Clone the repository and create the archive containing just the test
suite. I really want to be able to download the official pristine
upstream archive and I don't want to use any script for that.


Vít


>
> Maybe there is a better way I don't know about yet :-)
>
> Thanks,
> François
>
> [1] https://github.com/paragonie/sodium_compat
> _______________________________________________
> packaging mailing list -- packaging@xxxxxxxxxxxxxxxxxxxxxxx
> To unsubscribe send an email to packaging-leave@xxxxxxxxxxxxxxxxxxxxxxx
_______________________________________________
packaging mailing list -- packaging@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to packaging-leave@xxxxxxxxxxxxxxxxxxxxxxx




[Index of Archives]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite Forum]     [KDE Users]

  Powered by Linux