Hello,
There has been talk about replacing portsnap with git for some time now. Yesterday, while reading FreeBSD 14.0-RELEASE Release Notes, I came across such a fragment.
I didn't like it. I believe that portsnap should continue to exist as a frontend, despite the change in the backend to git.
The very idea of keeping a tree of ports on github is a good one. But getting rid of a convenient tool for handling it is less so.
So decided to create a simple script, a wrapper for git that would make managing ports easier. Its only dependencies are git and sh. The script was checked with the
github.com
This is the result of one day's work. It is not necessarily well thought and tested. I believe it should work fine .But it is certainly a base from which to start. The hardest thing is always to start something, especially when its boring and tedious. Anyone can clone the repo and pick it up from here. I don't know if I will continue to develop . So if you feel inspired, do it!
There has been talk about replacing portsnap with git for some time now. Yesterday, while reading FreeBSD 14.0-RELEASE Release Notes, I came across such a fragment.
The portsnap(8) utility has been removed. Users are encouraged to fetch the ports tree by using pkg install git and then git clone https://git.FreeBSD.org/ports.git /usr/ports. df53ae0fdd98
I didn't like it. I believe that portsnap should continue to exist as a frontend, despite the change in the backend to git.
The very idea of keeping a tree of ports on github is a good one. But getting rid of a convenient tool for handling it is less so.
So decided to create a simple script, a wrapper for git that would make managing ports easier. Its only dependencies are git and sh. The script was checked with the
shellcheck --shell=sh portnap
tool for POSIX ComplianceGitHub - littlelevi/portnap: Simple replacement for FreeBSD portsnap
Simple replacement for FreeBSD portsnap. Contribute to littlelevi/portnap development by creating an account on GitHub.
This is the result of one day's work. It is not necessarily well thought and tested. I believe it should work fine .But it is certainly a base from which to start. The hardest thing is always to start something, especially when its boring and tedious. Anyone can clone the repo and pick it up from here. I don't know if I will continue to develop . So if you feel inspired, do it!