New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Freebsd pkg addon #154
Freebsd pkg addon #154
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good for me. @svenfuchs would you mind to double check?
def define | ||
prefix :packages | ||
|
||
map :packages, to: :seq, alias: :package, summary: 'Package names', eg: 'cmake' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
i'd suggest using names
here pkg
already suggests "package", so "package names" would read better than "package package".
also, i'd suggest not adding aliases unless we have to.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It was suggestion from freebsd community c (like apt)
pkg:
packages:
- cmake
- vim
and alias
pkg:
package: cmake
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
On Ubuntu builds we keep aliases as follows:
addons:
apt:
packages:
- so FreeBSD community proposed something consistent. The
apt
is replaced withpkg
in FreeBSD, which may be not so fortunate, but I'm for keeping it consistent with linux based mechanism - less confusion for users
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
and we already made it consistent on macos:
addons:
homebrew:
packages:
so if we introduce something different now, we should allow it for all other OSes - I'd prefer to give less options to the users
* master: do not explode on missing msg args matrix key unsupported by lang does not leave bogus job do not explode on missing msg args check loaded? rather than imports try fixing configs order depth-first fix spec do not explode on non-hash configs match stage on jobs.exclude
No description provided.