Skip to content

check out version on wrapper install#19

Merged
samwar merged 1 commit intomasterfrom
wrapper-checks-out-version
Mar 22, 2021
Merged

check out version on wrapper install#19
samwar merged 1 commit intomasterfrom
wrapper-checks-out-version

Conversation

@zzantozz
Copy link
Copy Markdown
Contributor

All this time, the wrapper has been leaving the version checkout up to
the internal script, which means the wrapper checks out master and
runs that version of the internal script, which is clearly
wrong. This moves the initial version checkout to the wrapper so things
will work as expected.

The internal script still has lots of other version management things
to do. I think they'll work as expected still.

@zzantozz zzantozz force-pushed the wrapper-checks-out-version branch from da9787a to 97f3315 Compare March 22, 2021 17:21
Comment thread tests/wrapper-script.bats Outdated
[ "${lines[-1]}" = "install command completed" ]
[ $status -eq 0 ]
[ "$(cat git-input)" = "clone git@github.com:IDPLAT/rax-docs.git .rax-docs/repo" ]
[ "$(head -1 git-input)" = "clone git@github.com:IDPLAT/rax-docs.git .rax-docs/repo" ]
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

I think this needs to be cloned using the https right?

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.

Yeah, you're right. Copy/paste error

@zzantozz zzantozz force-pushed the wrapper-checks-out-version branch from 97f3315 to 1f303fa Compare March 22, 2021 17:31
All this time, the wrapper has been leaving the version checkout up to
the internal script, which means the wrapper checks out master and
runs *that* version of the internal script, which is clearly
wrong. This moves the initial version checkout to the wrapper so things
will work as expected.

The internal script still has lots of other version management things
to do. I think they'll work as expected still.
@zzantozz zzantozz force-pushed the wrapper-checks-out-version branch from 1f303fa to dee8444 Compare March 22, 2021 17:33
@samwar samwar merged commit 6ed0141 into master Mar 22, 2021
@samwar samwar deleted the wrapper-checks-out-version branch March 22, 2021 17:42
@samwar samwar added the feature New feature or request label Mar 22, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

feature New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants