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

Component and profile versioning/deprecation #12

Closed
twagoo opened this issue Jul 20, 2016 · 5 comments
Closed

Component and profile versioning/deprecation #12

twagoo opened this issue Jul 20, 2016 · 5 comments
Milestone

Comments

@twagoo
Copy link
Member

twagoo commented Jul 20, 2016

This ticket covers the back end aspect of component and profile versioning/deprecation, originally Trac #142. Corresponding front end issue: #66 and #67.

Concrete tasks:

  • Index status information in the database
  • Add parameter to rest service (/components, /profiles) to toggle inclusion of deprecated (default: hide)
  • Implement way of altering status (probably best via normal PUT update, parse status in header)

Description of original Trac ticket:

Note: Trac #571 covers support for public drafts (publicly visible private components), a subset of the functionality described here, without the lifecycle status properties specified in CMDI 1.2

This enhancement should enable an owner of a component to designate a new component or profile as the new version of an existing a component, marking the existing version deprecated.
There will (at least initially) be no mechanism to deal with backwards compatibility, i.e. published components will remain unchanged but users will be strongly encouraged to use to the new version. The status will be represented in the XML/XSD of the profile (see #146).

This is the first and most important step after the required general component schema update in implementing the Component Lifecycle Management features of CMDI 1.2.

Also take note of the envisioned set of '''views''' that strongly relate to this (and the additional option to mark development components for review). See ComponentVersioning#Viewsworkspacesandregistries.

@twagoo
Copy link
Member Author

twagoo commented Aug 17, 2016

Status indexing was implemented in 5a07e78

@twagoo
Copy link
Member Author

twagoo commented Aug 17, 2016

Status information is taken from component spec header and stored in the database (part of changes in 73b488d that also fix #2)

@twagoo
Copy link
Member Author

twagoo commented Aug 18, 2016

As of 8c1bf08, status for profiles and components can be assigned/retrieved via {id}/status (GET/POST). TODO: same for successor.

@twagoo
Copy link
Member Author

twagoo commented Aug 19, 2016

As of b9cfd73, successors for profiles and components can be assigned/retrieved via {id}/successor (GET/POST).

@twagoo
Copy link
Member Author

twagoo commented Aug 23, 2016

Component/profile listing can be filtered with the status query parameter. Default behaviour depends on user space. Implemented including tests as of 40ae662

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant