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

A start with splitting map.jinja and php works in focal (Ubuntu 20.04) #214

Open
wants to merge 6 commits into
base: master
Choose a base branch
from

Conversation

waynegemmell
Copy link

PR progress checklist (to be filled in by reviewers)

  • Changes to documentation are appropriate (or tick if not required)
  • Changes to tests are appropriate (or tick if not required)
  • Reviews completed

What type of PR is this?

Primary type

  • [build] Changes related to the build system
  • [chore] Changes to the build process or auxiliary tools and libraries such as documentation generation
  • [ci] Changes to the continuous integration configuration
  • [ x ] [feat] A new feature
  • [fix] A bug fix
  • [perf] A code change that improves performance
  • [refactor] A code change that neither fixes a bug nor adds a feature
  • [revert] A change used to revert a previous commit
  • [style] Changes that do not affect the meaning of the code (white-space, formatting, missing semi-colons, etc.)

Does this PR introduce a BREAKING CHANGE?

No.

Describe the changes you're proposing

I wanted to install Focal packages and allow for sensible defaults for PHP versions. PHP FPM was also not honouring the php version when creating it's files. I started with separating the map.jinja file but I don't really know how to finish that job. I got far enough that the libraries now install with the correct version for the relevant Ubuntu distribution by default.

With this change now most packages install without specifying a version. php.cli is an exception. It would work if the php object was merged instead of being overwritten. I couldn't work that out.

Pillar / config required to test the proposed changes

Nothing

@pull-assistant
Copy link

pull-assistant bot commented Jun 8, 2020

Score: 0.99

Best reviewed: commit by commit


Optimal code review plan

     Added osfamilymap, osmap and other defaults

     Added osfamilymap, osmap and other defaults

     Installs packages in focal.

Powered by Pull Assistant. Last update 817c54b ... 11fb54e. Read the comment docs.

@crosscodr crosscodr mentioned this pull request Oct 1, 2020
19 tasks
@danny-smit
Copy link

This is actually a great improvement and could resolve a bugreport that I wanted to write.
Is this almost done? What needs to be done to get this merged?

# osfingermap: {}
---
# os: Debian
Debian-10: {}

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
Debian-10: {}
Debian-10:
pillar_php_version: "7.3"

@waynegemmell
Copy link
Author

waynegemmell commented Oct 14, 2020 via email

@myii
Copy link
Member

myii commented Oct 14, 2020

This is actually a great improvement and could resolve a bugreport that I wanted to write.
Is this almost done? What needs to be done to get this merged?

@danny-smit Actually, the first part was waiting for @sticky-note to give some feedback. Otherwise, I would strongly suggest adding the new map.jinja verifier that we've started rolling across formulas (e.g. in the template-formula). That will help ensure that no regressions are introduced when making changes to the map. I might be able to provide something over the coming days.

Thanks for your patience, @waynegemmell.

@waynegemmell
Copy link
Author

waynegemmell commented Oct 14, 2020 via email

@danny-smit
Copy link

danny-smit commented Oct 26, 2020

@danny-smit Actually, the first part was waiting for @sticky-note to give some feedback. Otherwise, I would strongly suggest adding the new map.jinja verifier that we've started rolling across formulas (e.g. in the template-formula). That will help ensure that no regressions are introduced when making changes to the map. I might be able to provide something over the coming days.

I'm not familiar with that new verifier yet, but is there any way we can help with that?

@myii
Copy link
Member

myii commented Oct 26, 2020

I'm not familiar with that new verifier yet, but is there anyway we can help with that?

@danny-smit We're just finalising the verifier to work on Windows as well:

Once that's merged, we'll pretty much have a standard verifier that can be used for most/all formulas. Hopefully sometime this week.

@myii
Copy link
Member

myii commented Feb 14, 2021

@waynegemmell @danny-smit It's been a while but then the Travis CI curveball really threw us off. But we're getting on top of things now:

You'll get all of that if you rebase this PR. Will also need to consider how to deal with #215 at the same time (CC: @sticky-note).

@danny-smit
Copy link

Is that up to me? Can I do that? Since it is not my pull request.

@waynegemmell
Copy link
Author

@myii @sticky-note I've done a rebase as recommended but it still seems to be failing. Any idea what's causing this? The logs aren't showing anything that I understand.

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.

4 participants