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

can somebody please add to Debian? #277

Closed
fommil opened this issue Jul 9, 2015 · 25 comments
Closed

can somebody please add to Debian? #277

fommil opened this issue Jul 9, 2015 · 25 comments

Comments

@fommil
Copy link

fommil commented Jul 9, 2015

I tried to pay an experienced commercial Debian packager to get drive added to Debian, but they hit http://pkg-go.alioth.debian.org/packaging.html and then gave up, estimating 9 hours of work because each dependency has to be added separately (9 packages in total, plus and transitives). Probably the best way to get drive added to Debian is to ask this pgk-go team to do it. If the maintainers were to approach them about it, it might stand a chance. Please?

Apparently the Ubuntu .deb / ppa is against the Debian policy, so it won't get accepted in that form.

Of course, workaround is to go get ... but it would be nice to be able to install it on a fresh Debian box as a native app.

@odeke-em
Copy link
Owner

odeke-em commented Jul 9, 2015

Hello @fommil, thank you for reporting this and welcome to drive!
Wow, that's some dedication. Thank you for offering to do this, I appreciate this.
I see what you are saying. I'll ping the PPA maintainer @shaggytwodope.
Also coming to think of it, there was an issue #271 filed by @sbrun to get drive on Debian but she had requested a name change, of which I haven't not yet decided on. However, she had worked on getting drive in Debian and the name decision is just what is blocking her from finishing. Hopefully we can ask her what it took. Any ideas or comments on getting this in @sbrun?

@fommil
Copy link
Author

fommil commented Jul 9, 2015

sounds like the dedication is all from everybody else, I was just being lazy by asking someone else 😄 FWIW whatever name is fine with me in debian. I can always add an alias.

@rhertzog
Copy link

Sophie Brun (@sbrun) is the person that was doing the packaging work requested by @fommil and I was supposed to review it and include it in Debian. Given what we found out, this packaging offer obviouly no longer stands.

@fommil
Copy link
Author

fommil commented Jul 10, 2015

Aah. Thought we'd found a willing volunteer :-)

@rhertzog
Copy link

@fommil That said if @shaggytwodope wants to do the work of creating policy-compliant Debian packages I can "sponsor" them into Debian. The best would be if @shaggytwodope would join the pkg-go team so that he can maintain the packages in the git repositories of the team.

@professorjamesmoriarty
Copy link

Hello @rhertzog @fommil and lord @odeke-em. I've been in poor health lately, altho getting better slowly. I'am going to look into how to join the pkg-go team and what ever steps needed to get drive into debian. Altho this may take me some time as I'm going slow in even being at my desk. I will certainly read up on the go lang specs and requirements debian has. I'd love to get it into debian asap.

Basicly give me time and I'll try to get it there, my deb package is so hacky it is terrible lol. So in the next few day's I'll do some reading up and see what needs to be done.

PS @odeke-em Working on a site still, just busy with things more so. 1-2 days I hope to get a mock up to ya mate. Sorry for delays.

@odeke-em
Copy link
Owner

Hello @rhertzog thank you for taking time to look at this issue, and welcome to drive, plus I appreciate the offer and work in trying to get this in. Hello again @fommil and @shaggytwodope. Sounds like a plan getting @shaggytwodope into pkg-go/sponsored. To be honest, I am not knowledgable on packaging :( but I'll be learning from what y'all doing.

@odeke-em
Copy link
Owner

@shaggytwodope sorry for that, please get well soon, and thank you for the continued work.

@odeke-em
Copy link
Owner

Hey y'all, please see PR #280 or get the latest from master.
Now you'll be able to say

$ go get -u github.com/odeke-em/drive/google-drive
$ # OR
$ go get -u github.com/odeke-em/drive/drive-gen && drive-gen google-drive # To bundle debug info

And now the binary should be google-drive

@odeke-em
Copy link
Owner

Just changed the alternate binary to drive-google to match the suffixing that had earlier been mentioned, and to avoid using the Google Drive trademark without their consent. Please get the latest from master.

$ go get -u github.com/odeke-em/drive/google-drive
$ # OR
$ go get -u github.com/odeke-em/drive/drive-gen && drive-gen google-drive # To bundle debug info

@odeke-em odeke-em removed this from the v0.2.6 milestone Jul 14, 2015
@odeke-em
Copy link
Owner

Ping!

@sbrun
Copy link

sbrun commented Jul 24, 2015

I started to package drive for debian before realizing that it has too many dependencies. You will find my current tree here: https://github.com/sbrun/drive. Obviously it's far from ready but maybe it can be useful for you.

@odeke-em
Copy link
Owner

Thank you @sbrun for taking a look at it. Would you mind taking a look at how @shaggytwodope handles this in https://github.com/shaggytwodope/drivedebpackage?

@rhertzog
Copy link

@odeke-em We did already look at this package, it's just a big bundle of all the dependencies, it's not appropriate to be included into Debian.

@odeke-em
Copy link
Owner

@rhertzog thanks for the reply. Btw it might useful to know that there is a Godeps directory in drive-gen? You can view it here: https://github.com/odeke-em/drive/tree/master/drive-gen/Godeps. With Godeps I bundle the dependencies in a workspace and then the user can restore them once they've downloaded drive. Just in case you need to, you can learn about Godeps here https://github.com/tools/godep.

@odeke-em
Copy link
Owner

Ping!

@fike
Copy link

fike commented Aug 11, 2015

Hi,

I'm packaging drive dependencies to Debian. At the moment I packaged two libraries dependencies (golang-github-mattn-go-isatty-dev and golang-github-odeke-em-cli-spinner-dev), it isn't enough but they are the firsts steps. ;)

@odeke-em
Copy link
Owner

Hello @fike, sorry for the late reply and welcome to drive! Thank you for starting this up.

@sbrun, if may kindly ask, were you able to work on it ever since your initial issue of a different name was resolved?
@fommil, @shaggytwodope any thoughts on getting this in?

@gdm85
Copy link

gdm85 commented Sep 16, 2015

I agree with @rhertzog here, the dependencies tree is a mess...and I totally could not make use of Godeps as it still wanted to go get libraries. Supposedly with vendoring once you checkout the repository you should have all the source and be ready to build.

Can we improve somehow the README by explaining how to build from sources at first checkout, since it looks like there is already a Godeps workspace here and shouldn't be necessary to fetch middleware again...

Edit: for an example of what I mean, please look at my commits on top: https://github.com/gdm85/drive/commits/master I manually added the missing vendor dependency (didn't update any manifest as by vendoring I only care about a buildable project), created a Makefile and documented in README how to build

@odeke-em
Copy link
Owner

odeke-em commented Oct 7, 2015

Ping!

@odeke-em
Copy link
Owner

I guess this won't be happening, we'll rely on @shaggytwodope's packages and you can always just do

$ go get -u github.com/odeke-em/drive/drive-gen && drive-gen

Thank you everyone!

@fommil
Copy link
Author

fommil commented Dec 19, 2015

Are there any Gnu/Linux distributions that have a sane packaging strategy for modern languages? I.e. ivy/maven for JVM, cabal for Haskell and go get for go? Seems a total waste of effort to repackage this stuff.

@aerth
Copy link

aerth commented Dec 19, 2015

@fommil
Copy link
Author

fommil commented Dec 19, 2015

@aerth that's just fitting in with the current system (although it may help!) and I think the package maintainers are insane. I would like to know if there are any modern GNU/Linux distributions that just delegate package management to the language's native package manager. e.g. an apt that would just use go get or mvn or cabal under the hood.

@aerth
Copy link

aerth commented Dec 19, 2015

Actually dh-make-golang is on Github and fresher than the Debian repo.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

8 participants