Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Keep debian package up-to-date #1083

Merged
merged 1 commit into from Jul 12, 2013
Merged

Keep debian package up-to-date #1083

merged 1 commit into from Jul 12, 2013

Conversation

keli
Copy link
Contributor

@keli keli commented Jul 1, 2013

Currently the debian package is stuck at 0.3.4, on the other hand ubuntu has a script to help with packaging the latest version, so I borrowed the script to keep debian version up-to-date as well :-)

@ghost ghost assigned mzdaniel Jul 1, 2013
@creack
Copy link
Contributor

creack commented Jul 1, 2013

/cc @mzdaniel

@mzdaniel
Copy link
Contributor

mzdaniel commented Jul 2, 2013

Thanks hukeli. This is great :)

I'm getting this while testing:
vagrant@debian-70rc1-x64-vbox4210-nocm:/data/docker/packaging/debian$ make debian

Prepare docker source from revision v0.4.8

rm -rf build_src lxc-docker_[0-9]*
git clone file:///data/docker build_src/src/github.com/dotcloud/docker --branch v0.4.8 --depth 1
Cloning into 'build_src/src/github.com/dotcloud/docker'...
remote: Counting objects: 350, done.
remote: Compressing objects: 100% (293/293), done.
remote: Total 350 (delta 49), reused 261 (delta 33)
Receiving objects: 100% (350/350), 1.80 MiB | 1.72 MiB/s, done.
Resolving deltas: 100% (49/49), done.
Note: checking out 'fe0378e9b36b89d5eb01b4c2bf8c160305a958a7'.

You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by performing another checkout.

If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -b with the checkout command again. Example:

git checkout -b new_branch_name

GOPATH=/data/docker/packaging/debian/build_src go get -d github.com/dotcloud/docker
package net/http/cookiejar: unrecognized import path "net/http/cookiejar"

make: *** [debian] Error 1

Any idea?

@shykes
Copy link
Contributor

shykes commented Jul 2, 2013

You need to build with Go 1.1.1.

On Tue, Jul 2, 2013 at 10:37 AM, Daniel Mizyrycki
notifications@github.comwrote:

Thanks hukeli. This is great :)

I'm getting this while testing:
vagrant@debian-70rc1-x64-vbox4210-nocm:/data/docker/packaging/debian$
make debian
Prepare docker source from revision v0.4.8

rm -rf build_src lxc-docker_[0-9]*
git clone file:///data/docker build_src/src/github.com/dotcloud/docker--branch v0.4.8 --depth 1
Cloning into 'build_src/src/github.com/dotcloud/docker'...
remote: Counting objects: 350, done.
remote: Compressing objects: 100% (293/293), done.
remote: Total 350 (delta 49), reused 261 (delta 33)
Receiving objects: 100% (350/350), 1.80 MiB | 1.72 MiB/s, done.
Resolving deltas: 100% (49/49), done.
Note: checking out 'fe0378e9b36b89d5eb01b4c2bf8c160305a958a7'.

You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by performing another checkout.

If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -b with the checkout command again. Example:

git checkout -b new_branch_name

GOPATH=/data/docker/packaging/debian/build_src go get -d
github.com/dotcloud/docker
package net/http/cookiejar: unrecognized import path "net/http/cookiejar"

make: *** [debian] Error 1

Any idea?


Reply to this email directly or view it on GitHubhttps://github.com//pull/1083#issuecomment-20362150
.

@keli
Copy link
Contributor Author

keli commented Jul 3, 2013

package net/http/cookiejar: unrecognized import path "net/http/cookiejar"

make: *** [debian] Error 1

Like shykes said, Go 1.1.1 is required, and the stock version in Debian Wheezy is 1.0.2. Manually download and install from https://code.google.com/p/go/downloads/list.

@shykes
Copy link
Contributor

shykes commented Jul 9, 2013

@mzdaniel what's the next step?

@mzdaniel
Copy link
Contributor

@hukeli: I wasn't sure what testing process did you follow. We have in place a vagrant VM to do exactly this. After updating it with your suggestion (issue #1202), your PR worked exactly as designed.
Once again, thank you for your contribution.

mzdaniel added a commit that referenced this pull request Jul 12, 2013
Keep debian package up-to-date
@mzdaniel mzdaniel merged commit 9bf8ad7 into moby:master Jul 12, 2013
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.

None yet

4 participants