Cannot change configuration settings on command line #104

Closed
mmolnar opened this Issue Sep 10, 2014 · 1 comment

Comments

Projects
None yet
2 participants
@mmolnar

mmolnar commented Sep 10, 2014

Hi,

I expected the settings used in ~/.aptly.conf or /etc/aptly.conf to act as defaults, but instead they are the final settings. If i use:
"gpgDisableVerify": false
in configuration file then I am unable to change this value for specific mirrors using:
aptly -ignore-signatures=true mirror create

I had the same problems with the setting:
"downloadSourcePackages": true
and
aptly -with-sources=false mirror create

@smira smira added this to the v0.8 milestone Sep 20, 2014

smira added a commit that referenced this issue Sep 22, 2014

Correctly parse boolean flags in combination with config options. #104
Config option should act as default, while flag should override it only if set.
@smira

This comment has been minimized.

Show comment
Hide comment
@smira

smira Sep 22, 2014

Member

@mmolnar, thanks for the bug report, fixed in master.

Member

smira commented Sep 22, 2014

@mmolnar, thanks for the bug report, fixed in master.

@smira smira closed this Sep 22, 2014

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment