-
Notifications
You must be signed in to change notification settings - Fork 2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
www-apps/miniflux: new package #25048
Conversation
Pull Request assignmentSubmitter: @0xC0ncord acct-user/miniflux: @gentoo/proxy-maint (new package) Linked bugsNo bugs to link found. If your pull request references any of the Gentoo bug reports, please add appropriate GLEP 66 tags to the commit message and request reassignment. New packagesThis Pull Request appears to be introducing new packages only. Due to limited manpower, adding new packages is considered low priority. This does not mean that your Pull Request will not receive any attention, however, it might take quite some time for it to be reviewed. In the meantime, your new ebuild might find a home in the GURU project repository: the ebuild repository maintained collaboratively by Gentoo users. GURU offers your ebuild a place to be reviewed and improved by other Gentoo users, while making it easy for Gentoo users to install it and enjoy the software it adds. In order to force reassignment and/or bug reference scan, please append Docs: Code of Conduct ● Copyright policy (expl.) ● Devmanual ● GitHub PRs ● Proxy-maint guide |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pretty good overall, just a few small comments :)
acct-user/miniflux/miniflux-0.ebuild
Outdated
|
||
DESCRIPTION="User for www-apps/miniflux" | ||
ACCT_USER_ID=404 | ||
ACCT_USER_HOME="/dev/null" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nobody and a few other packages use /var/empty
, one package uses /dev/null
but /var/empty seems better.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Wouldn't simply not setting the variable do the right thing?
DESCRIPTION="User for www-apps/miniflux" | ||
ACCT_USER_ID=404 | ||
ACCT_USER_HOME="/dev/null" | ||
ACCT_USER_GROUPS=( nobody ) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The group seems inconsistent across the different files.
- This is
nobody
. miniflux.initd
hasnogroup
miniflux.service
hasnobody
I'm not sure which is the right one, but should be the same
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oops. Yeah this is supposed to be nobody
everywhere. I just missed one entry in the init script it seems. Easy to fix.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This isn't a comment on whether what you're doing here is right or wrong, but wanted to share these anyway as they're at the very least informative but also relevant to your interests:
- http://michael.orlitzky.com/articles/gentoo_glep81_user_package_guidelines.xhtml
- http://michael.orlitzky.com/articles/end_root_chowning_now_%28make_pkg_postinst_great_again%29.xhtml
- http://michael.orlitzky.com/articles/end_root_chowning_now_%28make_etc-init.d_great_again%29.xhtml
The latter two are less-related but still interesting and kind of in the same vein.
local DOCS=( | ||
ChangeLog | ||
README.md | ||
"${FILESDIR}"/README.gentoo |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
https://devmanual.gentoo.org/eclass-reference/readme.gentoo-r1.eclass/index.html
maybe use this eclass instead? It takes care of saving the file and also printing it only during the first install so maybe can replace most of your postinst()
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The included readme is pretty big, so I decided against using the readme.gentoo eclass to display it. I still want to show information on first install, so I would like to at least hint to users what they need to do. However, to use the eclass here would mean I would need 2 readme files which doesn't seem like the right way.
d17ec2b
to
c304c3a
Compare
Signed-off-by: Kenton Groombridge <concord@gentoo.org>
77a6b4d
to
5bf8c42
Compare
Pull request CI reportReport generated at: 2022-05-06 17:47 UTC There are existing issues already. Please look into the report to make sure none of them affect the packages in question: |
Signed-off-by: Kenton Groombridge <concord@gentoo.org>
Pull request CI reportReport generated at: 2022-05-06 18:02 UTC There are existing issues already. Please look into the report to make sure none of them affect the packages in question: |
Add
www-apps/miniflux
andacct-user/miniflux
to the tree.cc @perfinion @juippis