Skip to content

Various major behavioural changes#447

Merged
underscorgan merged 7 commits intonextfrom
daenney/hulk-smash-2
Mar 2, 2015
Merged

Various major behavioural changes#447
underscorgan merged 7 commits intonextfrom
daenney/hulk-smash-2

Conversation

@daenney
Copy link

@daenney daenney commented Feb 28, 2015

A set of commits changing a lot of behaviour of apt for the better. I can't do this as separate PR's as some of them depend on each other which would really slow down the process.

For review purposes I suggest having a look at each individual commit or brains might melt.

glados

* Instead of having 4 options controlling purging we now have a single
  hash with four possible keys.
* We purge everything by default.
* `/etc/apt/preferences` is now always managed.
* Add missing `mode` to some of the files.
@daenney daenney added this to the 2.0 milestone Feb 28, 2015
@daenney
Copy link
Author

daenney commented Feb 28, 2015

I have not yet had the time to look at the Beaker tests. I expect them to explode phenomenally.

@underscorgan
Copy link

urgh, sorry, reviewing commit by commit made the inline comments look less readable in the PR :\

@underscorgan underscorgan assigned daenney and unassigned underscorgan Feb 28, 2015
daenney added 5 commits March 1, 2015 13:17
* Instead of having 4 options controlling purging we now have a single
  hash with four possible keys.
* Include `apt::update` only _after_ we've assembled the `$_update`
  hash.
* Allow any configuration of apt to be done through data bindings by
  passing in hashes representing the resources.
* Switch apt::ppa to use `distid` as set in `apt::params. This makes
  `apt::ppa` also work for LinuxMint.
Remove a lot of the redundant `key_` prefixes on `apt::key` and the
`keyserver_` prefix on `apt_key`.
Turn `$key` into something that accepts a string or a hash of four keys
representing the different options that can be passed on to `apt::key`.
@daenney daenney force-pushed the daenney/hulk-smash-2 branch from 55824e4 to 061bc49 Compare March 1, 2015 13:41
@daenney daenney assigned underscorgan and unassigned daenney Mar 1, 2015
The behaviour of passing down undef through multiple layers gets fuzzy
so for now be explicit about the keyserver.

Once Puppet 4 is out and this behaviour has been crystallised and tested
we can revisit it.
@daenney daenney force-pushed the daenney/hulk-smash-2 branch from 00cf71d to 0cb48b0 Compare March 1, 2015 13:49
@daenney
Copy link
Author

daenney commented Mar 1, 2015

The last two commits ought to have come before my commit that does changes to apt::source but unfortunately I can't rewrite that part of history. It gets messy so the commits are slightly out of order, sorry.

underscorgan pushed a commit that referenced this pull request Mar 2, 2015
It's been a long time - how have you been
@underscorgan underscorgan merged commit 3960368 into next Mar 2, 2015
@underscorgan
Copy link

Looks good, thanks @daenney

Also, I really like what github did apt::key: in your commit messages.

@daenney daenney deleted the daenney/hulk-smash-2 branch March 2, 2015 18:47
@LukasAud LukasAud changed the title It's been a long time - how have you been Various major behavioural changes Jun 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants