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

Item13335: apply .spec files when saving configuration #4

Merged
merged 1 commit into from Mar 27, 2015
Merged

Conversation

jast
Copy link
Member

@jast jast commented Mar 27, 2015

Previously, .spec files would only be applied during bootstrapping. This means
that when users install extensions after bootstrapping, it is difficult to
apply the extension's Config.spec file.

In order to make this work, the order in which Foswiki::Configure::Load reads
the files needed to change: previously, Config.spec files were applied after
applying LocalSite.cfg, thus overriding the values stored there. The new code
loads the files in the following order: Foswiki.spec, Config.spec files,
LocalSite.cfg.

Previously, .spec files would only be applied during bootstrapping. This means
that when users install extensions after bootstrapping, it is difficult to
apply the extension's Config.spec file.

In order to make this work, the order in which Foswiki::Configure::Load reads
the files needed to change: previously, Config.spec files were applied after
applying LocalSite.cfg, thus overriding the values stored there. The new code
loads the files in the following order: Foswiki.spec, Config.spec files,
LocalSite.cfg.
jast added a commit that referenced this pull request Mar 27, 2015
Item13335: apply .spec files when saving configuration
@jast jast merged commit e2814a2 into master Mar 27, 2015
@jast jast deleted the Item13335 branch March 27, 2015 10:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant