Skip to content
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

Merged
merged 8 commits into from Mar 4, 2020
Merged

Freebsd pkg addon #154

merged 8 commits into from Mar 4, 2020

Conversation

DamianSzymanski
Copy link
Contributor

No description provided.

Copy link

@michal-at-travisci michal-at-travisci left a 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'
Copy link
Contributor

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.

Copy link
Contributor Author

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

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 with pkg in FreeBSD, which may be not so fortunate, but I'm for keeping it consistent with linux based mechanism - less confusion for users

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
@DamianSzymanski DamianSzymanski merged commit 38bd987 into master Mar 4, 2020
@DamianSzymanski DamianSzymanski deleted the freebsd_pkg_addon branch March 4, 2020 12:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants