Skip to content

Conversation

@stevvooe
Copy link
Contributor

This fixes the glide-vc command to use the glide.lock file to resolve
the dependencies, ensuring that we don't delete test dependencies. We
also fix a sed line to working correctly on other platforms as well
ensure that the tools get updated.

Signed-off-by: Stephen J Day [email protected]

@vbatts
Copy link
Member

vbatts commented Jan 11, 2017

LGTM

Approved with PullApprove

@stevvooe
Copy link
Contributor Author

@opencontainers/image-spec-maintainers PTAL

Makefile Outdated
glide-vc --only-code --no-tests --use-lock-file
# see http://sed.sourceforge.net/sed1line.txt
find vendor -type f -exec sed -i -e :a -e '/^\n*$$/{$$d;N;ba' -e '}' "{}" \;
find vendor -type f -exec sed -i "" -e :a -e '/^\n*$$/{$$d;N;ba' -e '}' "{}" \;
Copy link
Contributor

Choose a reason for hiding this comment

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

This doesn't work for me, but -i="" does

This fixes the `glide-vc` command to use the glide.lock file to resolve
the dependencies, ensuring that we don't delete test dependencies. We
also fix a sed line to working correctly on other platforms as well
ensure that the tools get updated.

Signed-off-by: Stephen J Day <[email protected]>
@stevvooe
Copy link
Contributor Author

@jonboulle @vbatts Address the problem identified by @jonboulle.

@jonboulle
Copy link
Contributor

jonboulle commented Jan 16, 2017

lgtm

Approved with PullApprove

@philips
Copy link
Contributor

philips commented Jan 18, 2017

LGTM

Approved with PullApprove

@philips philips merged commit 9c9448f into opencontainers:master Jan 18, 2017
@stevvooe stevvooe deleted the fix-makefile branch January 18, 2017 22:39
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