Re: Source tarballs are being placed in git?

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

 





On Wed, Jul 25, 2018 at 4:48 AM, Vít Ondruch <vondruch@xxxxxxxxxx> wrote:

"new-sources" should not be mentioned in basic documentation. These should be added via means of "fedpkg import package.srpm".

The workflow for new package is then:

~~~
$ fedpkg import mypackage.srpm
$ git commit -m "initial import"
~~~

and for updated package:

~~~
$ git add -u
$ fedpkg clog
$ git commit -F clog
$ fedpkg import updated.srpm
$ git commit --am
~~~

This way, the question if the file is stored in lookaside cache or git is done by fedpkg. Also please note that the "import" command removes patches which are not used any longer (not sure if it adds new patches ...).



Thanks.  If fedpkg has this capability IMO it should be referenced in the package maintenance guide.  I understand that documentation is boring, but if someone makes a change or adds capability to a package, they need to take a few moments to update references to those capabilities in the documentation - especially if that documentation is something as important as the "package maintenance guide".  I reference the guide every single time I make changes to packages - just to ensure I'm following the current rules.  At least for me, it's vital that these instructions are current and correct.
_______________________________________________
devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/devel@xxxxxxxxxxxxxxxxxxxxxxx/message/BC65GAULZEJFR4O5HRT2EPRASESCLBU6/

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Users]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]

  Powered by Linux