| Summary: | How to improve new port submissions | ||||||
|---|---|---|---|---|---|---|---|
| Product: | Services | Reporter: | Yuri Victorovich <yuri> | ||||
| Component: | Bug Tracker | Assignee: | Bugmeister <bugmeister> | ||||
| Status: | Closed Works As Intended | ||||||
| Severity: | Affects Only Me | CC: | adamw, grahamperrin, koobs, portmgr | ||||
| Priority: | --- | Keywords: | feature | ||||
| Version: | unspecified | ||||||
| Hardware: | Any | ||||||
| OS: | Any | ||||||
| Attachments: |
|
||||||
|
Description
Yuri Victorovich
2017-08-03 23:19:14 UTC
The PH says both patch and shar are acceptable, and I very, very strongly prefer patches. Machines with write access to the FreeBSD svn repo shouldn't be running shell scripts from untrusted sources. (In reply to Adam Weinberger from comment #1) All such operations are supposed to be performed in jail. Untrusted patches can also overwrite other important files. Either way, we accept patches. I like the rest of your proposal, but not the shar-only part. Does BZ support the process you're proposing? BZ is in perl, so it is easily modifiable. This bugzilla has obviously been modified, that's how it auto-assigns bugs, notifies maintainers. I strongly disagree with 6, we prefer patches, shar is slowly being phased out. 7 is then out. I also disagree with 8. First because portlint, being a static lint tool, says a lot of bad things, that you have to sift through and ignore. And second because you have to apply the patch, which means you need to figure out a magic way to discover where it should be applied. 7. can be done with patches as well.
> you need to figure out a magic way to discover where it should be applied.
'svn diff {category/port-name}' always creates patches of the same format. There is no magic required.
(In reply to Mathieu Arnold from comment #5) > I also disagree with 8 (suggestion to run portlint). First because portlint, being a static lint tool, says a lot of bad things, that you have to sift through and ignore. Actually, portlint only prints lines labeled with WARN or FATAL. I just ran portlint on every port in audio/, and every FATAL error seems reasonable, and should ideally be fixed. Please see the log as attachment. WARN messages can be ignored, or suggested to the user. Created attachment 185026 [details]
all-unique-portlint-FATAL-errors.txt
While it's true we need to streamline our "new port" submission, IMHO these are too restrictive. I think it's fair to ask if it passes portlint, and a 'make describe' from the <category>/Makefile. But beyond that I consider this more a social problem than a technical one. |