Skip to content

Replace pkg/units with docker/go-units.#18682

Merged
calavera merged 2 commits intomoby:masterfrom
calavera:replace_units_package
Dec 16, 2015
Merged

Replace pkg/units with docker/go-units.#18682
calavera merged 2 commits intomoby:masterfrom
calavera:replace_units_package

Conversation

@calavera
Copy link
Contributor

Add minor dependency update from libcontainer to remove circular dependencies. It won't be the last time we update libcontainer before the next major release, I think we should be okay bumping the dependency to a commit SHA here. There has only been a refactoring change between our tag and the the new SHA that doesn't modify, add or remove functionality.

Signed-off-by: David Calavera [email protected]

@runcom
Copy link
Member

runcom commented Dec 15, 2015

LGTM

@vdemeester
Copy link
Member

LGTM 🐮

@calavera
Copy link
Contributor Author

I was wrong, and libcontainer introduced a breaking change 😔

@calavera
Copy link
Contributor Author

I opened a PR in runc: opencontainers/runc#436

@vdemeester
Copy link
Member

😓

@calavera
Copy link
Contributor Author

libcontainer is fixed already. I pulled the changes with the new SHA here.

@tiborvass
Copy link
Contributor

@calavera please separate vendoring commit

Libcontainer depends on the new package now to avoid cycled
dependencies.

Signed-off-by: David Calavera <[email protected]>
@calavera calavera force-pushed the replace_units_package branch from 7432f7a to 4fef42b Compare December 16, 2015 17:27
@calavera
Copy link
Contributor Author

@tiborvass done.

@cpuguy83
Copy link
Member

I noticed go-units has the ulimit stuff too.
Did you want to convert that over as well?

@calavera
Copy link
Contributor Author

@cpuguy83 yes.

@calavera
Copy link
Contributor Author

the ulimits change is going to be a separated PR because it affects runconfig, which I'm working on right now.

@cpuguy83
Copy link
Member

LGTM

1 similar comment
@tiborvass
Copy link
Contributor

LGTM

calavera added a commit that referenced this pull request Dec 16, 2015
Replace pkg/units with docker/go-units.
@calavera calavera merged commit b44b5bb into moby:master Dec 16, 2015
@calavera calavera deleted the replace_units_package branch December 16, 2015 18:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants