-
Notifications
You must be signed in to change notification settings - Fork 3.6k
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
Pull request policies #8528
Comments
I am new to this but I also think we should vote if we like this new package to get merged or not. Some of this packages have a special use case or an alternative package is already merged. |
I'm also new to this, and new packages are particularly hard for me to review and judge. Apparently to most reviewers as well, since new packages keep piling up, some of them for well over a year. Some guidelines are definitely needed, and voting will not really fix it. How can you vote if you don't know what to look for? |
Something along the lines with will this be used by more than a handful of people and does it make sense to have it in. As far as node.js stuff goes it makes more sense to use nxhack's own repo IMHO. |
I can imagine that I would want to add some new package to this repository and people with commit access will be voting about it and I didn't make it just for one vote or they will refuse it all, but if at least one user from the community will find for it usage, so why not add it? I can see that some packages are not added to OpenWrt like vpn-policy-routing and we should ask people, why they don't want to add it to OpenWrt directly, so all users can benefit from it and not just someone. It's really bad when PR is stuck for a month even it was reviewed. I also understand why you are asking it. There are a lot of packages, which are not maintained anymore. :/ I have a different point of view of this, but I agree that new packages must be run-tested. About adding changes to upstream, I'm fine with it, but in some situations, it's not possible. E.g. one my PR is blocked, because upstream doesn't respond to my PR, so what's now? The package doesn't work if you didn't compile libcurl yourself. |
Since we're unable to maintain the current repo in terms of keeping everything up to date new packages needs to have some general interest in order to attract contributors. As far as packages goes, if I were to submit lets say a biological-related package it would make little sense in general to merge such a package or if I wanted to use a version of grep tuned for a very specific use case. Of course there will be software that we're not aware of that's why I suggest a little use case description. I primarily want to avoid package being in limbo state for infinity and heavily dated ones. Regarding patches the goal is to have as few as possible in the tree. I'm not suggesting that patches will be banned however they should be submitted upstream first unless they're specific for OpenWrt. If upstream is unresponsive it should be noted in the commit message. |
About upstream submissions, I think they don’t need to be accepted; but they are a very good thing. Besides the fact that there might be more people with the same need, and to review it, when accepted, we don’t need to maintain it separately. |
Reference also to the previous discussion about PR policies in 2016-2017: Regarding new packagesLike thess says in #3579 (comment) , there should preferably be some indication of a wider interest for a package in the OpenWrt user space, especially if the package does not obviously correspond to a typical home router use case. Also from resource perspective, if is good to remember that all packages are complied for all ~40 targets and stored for all them. As we are not a general Linux distro with unlimited resources, I don't like merging somebody's personal math conversion library etc. There have also been some package PRs from derivative distros that are apparently built for their end-users, but the usefulness of all of those packages in a wider OpenWrt context is not that obvious. Regarding merging PRs and testing requiredSome thoughts from me:
|
I think we should have a criteria to close the PRs as well, especially for new packages. If they do not meet our criteria to be merged, I think it is fair to leave a note explaining why they are not being accepted, and close them. We shouldn't just keep them in a limbo. They can always be reopened/recreated if circumstances change. |
This is mainly concerns members and frequent contributors but can we agree on not to open PRs just for the sake of it?
PRs should be run-tested on at least one platform before being submitted unless maintainer of a package has clearly stated otherwise. Also, commit message should contain all changes being made.
If a change isn't specific to OpenWrt please try to upstream it first.
Given our limited resources I don't think we need more administrative work than needed.
Also while I'm at it, how should we handle new package submissions?
We have quite a few queued, could this be a good idea?
#8509 (comment)
The text was updated successfully, but these errors were encountered: