RedHatQE/katello.auto — pull request #629 by sghai (2013-04-19 10:52:14+00:00)
Title: Add published content-view to an activation-key

Currently this PR is not ready for merge. Facing an issue while adding the published-name to changeset.

Usecase:
After creating a changeset, when you select the content-view from left pane, you will get a list of created published-names under content-view. I want to promote these published names.

Issue:
when I'm passing the contentview record to :content, the add-rm function in changeset.clj picks the content-view name, however I want it should use published-name.

changeset/promote-delete-content (uniqueify (kt/newChangeset {:name "cs", :env target-env
:content (list contentview)})))

Later, I tried to associate published-name with content-view record and pass the published-name like
:content (list (:published-name contentview))

But I think we can not pass string as content, it should be record.