Skip to content

Swith to Master/Detail Publications#242

Merged
asmacdo merged 3 commits into
pulp:masterfrom
asmacdo:master-detail-publications
Apr 30, 2019
Merged

Swith to Master/Detail Publications#242
asmacdo merged 3 commits into
pulp:masterfrom
asmacdo:master-detail-publications

Conversation

@asmacdo

@asmacdo asmacdo commented Apr 26, 2019

Copy link
Copy Markdown
Contributor

@daviddavis daviddavis left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. one thing you might want to do is update the docs.

asmacdo added 2 commits April 26, 2019 10:18
This is included in the Publications PR because the docs needed to be
updated, and the preceeding docs (sync) didn't work together in
copy/paste mode. I wrote these scripts to test the Publications PR, and
decided to use them in the docs.

[noissue]
@asmacdo asmacdo force-pushed the master-detail-publications branch from ee5370e to 4c72c63 Compare April 29, 2019 16:41
Comment thread docs/_scripts/base.sh
wait_for_pulp() {
unset CREATED_RESOURCE
local task_url=$1
while [ -z "$CREATED_RESOURCE" ]

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This seems to fail sometimes, CREATED_RESOURCE gets set to null.

@@ -0,0 +1,19 @@
# This script will execute the component scripts and ensure that the documented examples
# work as expected.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Idea for another day:

It might be worth running quickstart.sh when building the docs, to test it out. As a possible side benefit, we will populate the db, which might allow us to include examples in the REST API docs.

@asmacdo asmacdo force-pushed the master-detail-publications branch 2 times, most recently from 4be546b to a6fdfc5 Compare April 29, 2019 19:09
Remove Publishers and move Publish tests into Publication Create. Then
write minimal publication crud tests.
@asmacdo asmacdo force-pushed the master-detail-publications branch from a6fdfc5 to 4a25515 Compare April 29, 2019 19:13

@CodeHeeler CodeHeeler left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM
with the caveat that you open issues to a) improve the tests and b) take care of the other TODOs here so they won't get forgotten.

@asmacdo asmacdo merged commit 72f496d into pulp:master Apr 30, 2019
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

Successfully merging this pull request may close these issues.

4 participants