mbenkmann / limux-gosa

GOsa² is a web based adminstration tool for user accounts, groups, servers, clients, and many other things.
18 stars 5 forks source link

determine list of releases and use it in db.FAIClassesCacheInit() #92

Closed mbenkmann closed 9 years ago

mbenkmann commented 9 years ago

From mux2...@gmail.com on March 19, 2013 14:30:36

The list of all available releases should be determined at startup and at SIGUSR2. It should be determined by combining the releases listed in the packagedb (after that hook has completed) with the results from

ldapsearch -x -LLL -b FAIBASE objectclass=faibranch dn

FAIClassesCacheInit() currently determines the all_releases map while parsing the FAI classes. This requires that each release contain at least one FAI class. This is no problem in practice but in theory a release could be completely identical to the parent release and inherit everything. See the currently failing test case for release "x-men".

The list of current releases could also be used to add a "default" entry in each answer to gosa_get_available_kernel, even though I think the GOsa patch from issue #89 is the better solution.

Original issue: http://code.google.com/p/go-susi/issues/detail?id=92

mbenkmann commented 9 years ago

From mux2...@gmail.com on May 22, 2013 02:50:23

This happens during development when a new release is created that consists only of freeze classes. So DEV would like to have this feature => MS 6

Status: Accepted
Labels: -Priority-Bonus Priority-Want Milestone-6

mbenkmann commented 9 years ago

From mux2...@gmail.com on August 22, 2013 06:34:39

Done in 0a8144523351

Status: Done