So I made this thing: https://pagure.io/package-cleanup-service
I have no idea if anyone would either want to help with cleanup, or would want anyone to actually do cleanup on their packages. But we have Pagure and pull requests now, which means that this stuff is far easier to do than before.
So, if you want to help, let me know and I'll add you to the project and we'll see if any tickets come in. If you think it's a stupid idea, let me know and... I guess I won't add you to the project. If you want someone to have a look at one of your packages, go ahead and be the first to file a ticket. At this point I can't promise any kind of response time, but we'll see how it goes.
One thing I did add there was a distillation of a packaging style guide that I've tinkered with on and off for years now. I'm sure that something there will annoy someone, but we're only offering cleanups and even then only when someone asks for them, so I do hope to avoid flamewars there but I do also welcome constructive feedback and ideas for improvement.
- J<
And since I've already been asked, yes, many things should be automated. I don't disagree. But there's a lot of stuff that is difficult for a program to do which would be relatively easy for a human to do, and so there's still a point to having human-based cleanups in parallel to automated cleanups (which I'm also working on when I get the time).
This seemed to be an easy way to leverage the fact that we have pull requests against packages now, so I figured it was worth a try.
_ J<
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256
On Wed, 2017-09-06 at 17:15 -0500, Jason L Tibbitts III wrote:
So I made this thing: https://pagure.io/package-cleanup-service
I have no idea if anyone would either want to help with cleanup, or would want anyone to actually do cleanup on their packages. But we have Pagure and pull requests now, which means that this stuff is far easier to do than before.
So, if you want to help, let me know and I'll add you to the project and we'll see if any tickets come in. If you think it's a stupid idea, let me know and... I guess I won't add you to the project. If you want someone to have a look at one of your packages, go ahead and be the first to file a ticket. At this point I can't promise any kind of response time, but we'll see how it goes.
I would like to help!
One thing I did add there was a distillation of a packaging style guide that I've tinkered with on and off for years now. I'm sure that something there will annoy someone, but we're only offering cleanups and even then only when someone asks for them, so I do hope to avoid flamewars there but I do also welcome constructive feedback and ideas for improvement.
- J<
packaging mailing list -- packaging@lists.fedoraproject.org To unsubscribe send an email to packaging-leave@lists.fedoraproject.o rg
- -- - -Igor Gnatenko
Le mercredi 06 sept. 2017 à 17:15:16 (-0500), Jason L Tibbitts III a écrit :
So I made this thing: https://pagure.io/package-cleanup-service
I have no idea if anyone would either want to help with cleanup, or would want anyone to actually do cleanup on their packages. But we have Pagure and pull requests now, which means that this stuff is far easier to do than before.
So, if you want to help, let me know and I'll add you to the project and we'll see if any tickets come in. If you think it's a stupid idea, let me know and... I guess I won't add you to the project. If you want someone to have a look at one of your packages, go ahead and be the first to file a ticket. At this point I can't promise any kind of response time, but we'll see how it goes.
One thing I did add there was a distillation of a packaging style guide that I've tinkered with on and off for years now. I'm sure that something there will annoy someone, but we're only offering cleanups and even then only when someone asks for them, so I do hope to avoid flamewars there but I do also welcome constructive feedback and ideas for improvement.
- J<
This is great. Does it also include the removal of old scriptlets that shouldn't be included in Fedora >= 24, as shown in an older revision of this page: https://fedoraproject.org/w/index.php?title=Packaging:Scriptlets&oldid=4... I still seem some people using them while doing reviews.
Best regards,
Robert-André
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256
On Thu, 2017-09-07 at 12:24 +0200, Robert-André Mauchin wrote:
Le mercredi 06 sept. 2017 à 17:15:16 (-0500), Jason L Tibbitts III a écrit :
So I made this thing: https://pagure.io/package-cleanup-service
I have no idea if anyone would either want to help with cleanup, or would want anyone to actually do cleanup on their packages. But we have Pagure and pull requests now, which means that this stuff is far easier to do than before.
So, if you want to help, let me know and I'll add you to the project and we'll see if any tickets come in. If you think it's a stupid idea, let me know and... I guess I won't add you to the project. If you want someone to have a look at one of your packages, go ahead and be the first to file a ticket. At this point I can't promise any kind of response time, but we'll see how it goes.
One thing I did add there was a distillation of a packaging style guide that I've tinkered with on and off for years now. I'm sure that something there will annoy someone, but we're only offering cleanups and even then only when someone asks for them, so I do hope to avoid flamewars there but I do also welcome constructive feedback and ideas for improvement.
- J<
This is great. Does it also include the removal of old scriptlets that shouldn't be included in Fedora >= 24, as shown in an older revision of this page: https://fedoraproject.org/w/index.php?title=Packaging:Scri ptlets&oldid=481889 I still seem some people using them while doing reviews.
To my understanding, yes. Obviously, unless people asked for EPEL compatibility (in which case person should add some if condition to spec).
Best regards,
Robert-André _______________________________________________ packaging mailing list -- packaging@lists.fedoraproject.org To unsubscribe send an email to packaging-leave@lists.fedoraproject.o rg
- -- - -Igor Gnatenko
"RM" == Robert-André Mauchin zebob.m@gmail.com writes:
RM> Does it also include the removal of old scriptlets RM> that shouldn't be included in Fedora >= 24
Yes, that should be a thing. Obviously that's a candidate for automation as well, but you have to start somewhere. We also have significant scriptlet work in the pipeline which should make this simpler, so stay tuned. (I still need to open an FPC ticket to start work on that.)
- J<
On 6 September 2017 at 23:15, Jason L Tibbitts III tibbs@math.uh.edu wrote:
So I made this thing: https://pagure.io/package-cleanup-service
I have no idea if anyone would either want to help with cleanup, or would want anyone to actually do cleanup on their packages. But we have Pagure and pull requests now, which means that this stuff is far easier to do than before.
So, if you want to help, let me know and I'll add you to the project and we'll see if any tickets come in.
Please add me :-)
If you think it's a stupid idea, let me know and... I guess I won't add you to the project. If you want someone to have a look at one of your packages, go ahead and be the first to file a ticket. At this point I can't promise any kind of response time, but we'll see how it goes.
One thing I did add there was a distillation of a packaging style guide that I've tinkered with on and off for years now. I'm sure that something there will annoy someone, but we're only offering cleanups and even then only when someone asks for them, so I do hope to avoid flamewars there but I do also welcome constructive feedback and ideas for improvement.
- J<
packaging mailing list -- packaging@lists.fedoraproject.org To unsubscribe send an email to packaging-leave@lists.fedoraproject.org
On Wed, Sep 06, 2017 at 05:15:16PM -0500, Jason L Tibbitts III wrote:
I have no idea if anyone would either want to help with cleanup, or would want anyone to actually do cleanup on their packages. But we have Pagure and pull requests now, which means that this stuff is far easier to do than before.
As a casual/moderate Fedora packager, how do I know if my packages need cleanup? Possibly if I thought there were problems I would have done it already. Is there some sort of quick check people can run on their own packages to even know if they might be candidates to ask for help?
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256
On Fri, 2017-09-08 at 11:21 -0400, Matthew Miller wrote:
On Wed, Sep 06, 2017 at 05:15:16PM -0500, Jason L Tibbitts III wrote:
I have no idea if anyone would either want to help with cleanup, or would want anyone to actually do cleanup on their packages. But we have Pagure and pull requests now, which means that this stuff is far easier to do than before.
As a casual/moderate Fedora packager, how do I know if my packages need cleanup? Possibly if I thought there were problems I would have done it already. Is there some sort of quick check people can run on their own packages to even know if they might be candidates to ask for help?
That's great question! I would say like "if you don't know how your spec works, it feels messy, hard to understand -- it needs cleanup" 😉
-- Matthew Miller mattdm@fedoraproject.org Fedora Project Leader _______________________________________________ packaging mailing list -- packaging@lists.fedoraproject.org To unsubscribe send an email to packaging-leave@lists.fedoraproject.o rg
- -- - -Igor Gnatenko
On Sat, Sep 9, 2017 at 3:41 AM, Igor Gnatenko ignatenkobrain@fedoraproject.org wrote:
As a casual/moderate Fedora packager, how do I know if my packages need cleanup? Possibly if I thought there were problems I would have done it already. Is there some sort of quick check people can run on their own packages to even know if they might be candidates to ask for help?
That's great question! I would say like "if you don't know how your spec works, it feels messy, hard to understand -- it needs cleanup" 😉
Perhaps a more automated way to check would be to have a script that checks for certain deprecated syntax in a RPM spec?
For example, I imagine specs with a "defattr" in their files section likely need to be cleaned up. Or a Group tag. Or no %license macro. This suggests that the package probably needs to be modernized and may have other things that need to be cleaned up.
Ben Rosser
Le samedi 09 septembre 2017 à 13:07 -0400, Ben Rosser a écrit :
Perhaps a more automated way to check would be to have a script that checks for certain deprecated syntax in a RPM spec?
For example, I imagine specs with a "defattr" in their files section likely need to be cleaned up. Or a Group tag. Or no %license macro. This suggests that the package probably needs to be modernized and may have other things that need to be cleaned up.
Ben Rosser
Maybe the rpmlint command could help detect some deprecated syntaxes ? It doesn't check for missing %license macros and such, but does check for Group tags for example. On a side note, what's wrong with using "defattr" in %files ? I've never seen anything wrong with it up until now...
On Sat, 09 Sep 2017 20:09:28 +0200, Laurent Tréguier wrote:
On a side note, what's wrong with using "defattr" in %files ? I've never seen anything wrong with it up until now...
There are global defaults for file permissions, and if you don't change those defaults, you don't need to use %defattr:
https://fedoraproject.org/wiki/Packaging:Guidelines#File_Permissions
There are also spec files, which set wrong file permissions because of a wrong %defattr instead of fixing %install.
I'd gladly join as well.
Charalampos Stratakis Software Engineer Python Maintenance Team, Red Hat
----- Original Message ----- From: "Jason L Tibbitts III" tibbs@math.uh.edu To: packaging@lists.fedoraproject.org Sent: Thursday, September 7, 2017 12:15:16 AM Subject: [Fedora-packaging] Package Cleanup Service
So I made this thing: https://pagure.io/package-cleanup-service
I have no idea if anyone would either want to help with cleanup, or would want anyone to actually do cleanup on their packages. But we have Pagure and pull requests now, which means that this stuff is far easier to do than before.
So, if you want to help, let me know and I'll add you to the project and we'll see if any tickets come in. If you think it's a stupid idea, let me know and... I guess I won't add you to the project. If you want someone to have a look at one of your packages, go ahead and be the first to file a ticket. At this point I can't promise any kind of response time, but we'll see how it goes.
One thing I did add there was a distillation of a packaging style guide that I've tinkered with on and off for years now. I'm sure that something there will annoy someone, but we're only offering cleanups and even then only when someone asks for them, so I do hope to avoid flamewars there but I do also welcome constructive feedback and ideas for improvement.
- J< _______________________________________________ packaging mailing list -- packaging@lists.fedoraproject.org To unsubscribe send an email to packaging-leave@lists.fedoraproject.org
packaging@lists.fedoraproject.org