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
Fixes #5830: Use technique updates to enable/disable active techniques #666
Fixes #5830: Use technique updates to enable/disable active techniques #666
Conversation
d4f7554
to
913af55
Compare
<version>{version.toString}</version> | ||
</modifiedTechnique> | ||
def buildDetails(techniqueMods: Map[TechniqueName, TechniquesLibraryUpdateType]) : NodeSeq = EventLog.withContent { | ||
<reloadTechniqueLibrary fileFormat={Constants.XML_CURRENT_FILE_FORMAT.toString}>{ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
hum, if the format changes, we should increase the XML_CURRENT_FILE_FORMAT, and add a migration script. Shan't we ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done, see update and Normation/rudder-packages#535
913af55
to
91eb70e
Compare
|
||
|
||
/** | ||
* Migrate an event log from fileFormat 4 to 5 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
comment is not correct here
91eb70e
to
28f3456
Compare
* We don't use values from | ||
* com.normation.rudder.domain.eventlog.*EventType | ||
* so that if they change in the future, the migration | ||
* from 2.3 to 2.5 is still OK. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
comment is really old here
28f3456
to
8dab262
Compare
ok, looks good to me |
8dab262
to
31f7828
Compare
…techniques Fixes #5830: Use technique updates to enable/disable active techniques
No description provided.