Repository navigation
feat(init): read the port and the pkg repo for --freebsd-port - #83
Merged
Merged
Conversation
--freebsd-port takes category/name, a bare port or package name, a FreshPorts URL or a tree path, and reads the pkg repo when there is no ports tree. The port's LICENSE tokens and LICENSE_COMB map to SPDX, or UNKNOWN; a near miss is never written. The daemon comes from the rc script, through daemon(8) wrappers and continued lines, or from the plist, with the rc flags and conf-dir defaults as a comment in the launcher. The web port comes from an rc *_port default or pkg-message, else 8080 with a warning. Variants default to pkg,pkg-latest, --dir picks the target, a workspace of image repos gets ./<name>/, and the run ends with what is left to review and the next commands. A wrong category suggests the origin the tree or pkg knows, underscores in a name become spaces in the title, www/ ports get a category review line, and a WWW with several URLs splits into the site and the source.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
--freebsd-port takes category/name, a bare port or package name, a
FreshPorts URL or a tree path, and reads the pkg repo when there is no
ports tree. The port's LICENSE tokens and LICENSE_COMB map to SPDX, or
UNKNOWN; a near miss is never written. The daemon comes from the rc
script, through daemon(8) wrappers and continued lines, or from the
plist, with the rc flags and conf-dir defaults as a comment in the
launcher. The web port comes from an rc *_port default or pkg-message,
else 8080 with a warning. Variants default to pkg,pkg-latest, --dir
picks the target, a workspace of image repos gets .//, and the
run ends with what is left to review and the next commands.
A wrong category suggests the origin the tree or pkg knows, underscores
in a name become spaces in the title, www/ ports get a category review
line, and a WWW with several URLs splits into the site and the source.