Bug 219707 - New virtual categories for "fusefs" sysutils/*fusefs* and django (*/django-*) ports
Summary: New virtual categories for "fusefs" sysutils/*fusefs* and django (*/django-*)...
Status: Open
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Ports Framework (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Some People
Assignee: Kubilay Kocak
URL:
Keywords: dogfood, feature
Depends on: 219713
Blocks:
  Show dependency treegraph
 
Reported: 2017-06-01 13:59 UTC by Mahdi Mokhtari
Modified: 2019-04-09 14:39 UTC (History)
7 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Mahdi Mokhtari freebsd_committer freebsd_triage 2017-06-01 13:59:56 UTC
As talked with koobs@ while porting py-gmailfs-fuse port, we reached to a conclusion that it's good idea to have fuse-related ports under a virtual category.
So As I read on Handbook (thanks to mentor mat@ ;D) I opened this PR for requesting it.
Comment 1 Kubilay Kocak freebsd_committer freebsd_triage 2017-06-02 00:03:31 UTC
I was (perhaps incorrect) of the impression virtual categories (those not existing as subdirectories of /usr/ports) were 'created and seen' upon their use in ports themselves and didn't need to have anything special done to create them.

We'll want to do the same for django ports. Currently the 'defacto' convention is to the custom (freebsd imposed) django- prefix for portnames, which is inconsistent with their upstream names and makes port/pkg name discovery and searching within and outside (google) freebsd more difficult and potentially confusing for users.
Comment 2 Kubilay Kocak freebsd_committer freebsd_triage 2017-06-02 00:05:58 UTC
As per Porters Handbook [1]:

"Proposing a new virtual category is similar to the above but much less involved, since no ports will actually have to move. In this case, the only patches to include in the PR would be those to add the new category to CATEGORIES of the affected ports."

[1] https://www.freebsd.org/doc/en/books/porters-handbook/makefile-categories.html#porting-categories
Comment 3 Adam Weinberger freebsd_committer 2017-06-02 00:26:27 UTC
I'm all for categories. There's 40-ish fuse ports, AFAICT, and about 100 Django ports. The minimum count is arbitrary but >40 feels like an appropriate yardstick to me.

We should really have R (220 ports), rails (125), and apache (115) categories too.
Comment 4 Kubilay Kocak freebsd_committer freebsd_triage 2017-06-02 00:45:29 UTC
The reading of the porters handbook appears to not require portmgr@ (or any other) explicit approval, short of perhaps some initial or general consensus among committers & maintainers of their respective (group) ports.

Accordingly, assign myself as interim/fallback parent issue (goal) coordinator. If someone else would like to coordinate the higher level issue, please assign yourself.

Anyone who is interested in creating virtual categories for a particular group of tasks create sub-tasks blocking this one. I'll do so for */django-*.

@Adam Can you create new sub-issues for your suggestions? (cc'ing appropriate people)

Each of the subtasks should (eventually) contain a patch updating existing ports to add the new virtual category (as per handbook), and any appropriate renames/moves.
Comment 5 Kubilay Kocak freebsd_committer freebsd_triage 2017-06-02 00:46:53 UTC
@portmgr, if the reading of the handbook is incorrect, and explicit and specific approval is required, please re-assign to yourselves, mention the approval requirement, and please update the handbook text to clarify (a sub-task would be nice for this)
Comment 6 Mark Felder freebsd_committer 2017-06-02 01:54:34 UTC
Note: will require a big update to the MOVED file to do this.
Comment 7 Adam Weinberger freebsd_committer 2017-06-02 02:32:27 UTC
(In reply to Mark Felder from comment #6)
Shouldn't for purely virtual categories, no?
Comment 8 Mark Felder freebsd_committer 2017-06-02 03:15:40 UTC
(In reply to Adam Weinberger from comment #7)


Correct, ignore me. I misunderstood this when I read these tickets at first. I thought we wanted new real categories in the ports tree for django and fusefs to make it easier for users to search.

I don't know how well virtual categories will solve the searching problem, but it won't hurt.
Comment 9 Mathieu Arnold freebsd_committer 2017-06-02 07:18:28 UTC
Can you point us to the discussion that took place on ports@ where the consensus was to create those new categories ?
Comment 10 Mahdi Mokhtari freebsd_committer freebsd_triage 2017-06-02 10:43:56 UTC
(In reply to Mathieu Arnold from comment #9)
Well, actually (as I told in first comment) it was a chat with koobs@ not a general discussion.
it was not on ports@ ``:-] (but on Twitter PM)
Comment 11 Mathieu Arnold freebsd_committer 2017-06-06 13:15:16 UTC
Well, two persons talking over a tweet hardly makes it a consensus.  Opening the PR may have been a bit premature.

Please follow the procedure described in https://www.freebsd.org/doc/en/books/porters-handbook/makefile-categories.html#proposing-categories
Comment 12 Kubilay Kocak freebsd_committer freebsd_triage 2017-06-06 13:21:47 UTC
(In reply to Mathieu Arnold from comment #11)

It is perfectly reasonable and acceptable to create issues as placeholders or documented (public) artifacts to allow for consensus to be built, discuss potential implications or other considerations for topics that may not necessarily or immediately be at a 'ready' to commit stage.