Created attachment 187827 [details] Unified diff I routinely deploy work-in-progress ports on numerous servers for beta testing before committing them. These are typically for scientific programs that I am not qualified to test myself, so I rely on researchers to quality-check the installations. To facilitate this, I maintain a separate repository, which I check out to /usr/ports/wip, following the example of pkgsrc-wip. Ports checks require that the first entry in CATEGORIES match the parent directory. Adding wip here results in an invalid category error. I can patch it in as necessary, but would like to make the change permanent so that this is unnecessary and problems can be avoided. There are a few other contributors to my wip collection at this point and I'm hoping to see the system grow, as pkgsrc-wip has proven to be a popular and useful model to follow.
See bug #204133
(In reply to Jason Bacon from comment #0) > Created attachment 187827 [details] > Unified diff > > I routinely deploy work-in-progress ports on numerous servers for beta > testing before committing them. These are typically for scientific programs > that I am not qualified to test myself, so I rely on researchers to > quality-check the installations. > > To facilitate this, I maintain a separate repository, which I check out to > /usr/ports/wip, following the example of pkgsrc-wip. > > Ports checks require that the first entry in CATEGORIES match the parent > directory. Adding wip here results in an invalid category error. > > I can patch it in as necessary, but would like to make the change permanent > so that this is unnecessary and problems can be avoided. > > There are a few other contributors to my wip collection at this point and > I'm hoping to see the system grow, as pkgsrc-wip has proven to be a popular > and useful model to follow. Maybe I don't fully understand you're need(s)/request. But won't Mk/bsd.local.mk , and Makefile.local give you that capability? --Chris
I was unaware of bsd.local.mk, so thanks for pointing this out. We can also accomplish our goal with the following two changes: /etc/make.conf: USE_LOCAL_MK=yes ${PORTSDIR}/mk/bsd.local.mk: VALID_CATEGORIES+=wip In theory, these should be one-time modifications, which is better than having to patch after every portsnap update. I was hoping the wip category could be fully embraced as it is in the pkgsrc project, though. I think having a common location for unfinished ports would facilitate more collaboration on new ports development and eliminate some of the duplicated effort caused by the currently fragmented or unpublished work-in-progress collections.