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

Add Atom text editor #6

Closed
castrojo opened this issue Sep 10, 2014 · 15 comments · Fixed by #329
Closed

Add Atom text editor #6

castrojo opened this issue Sep 10, 2014 · 15 comments · Fixed by #329

Comments

@castrojo
Copy link

https://atom.io/
https://github.com/atom/atom/blob/master/docs/build-instructions/linux.md

Atom is a newer text editor, it's a great alternative to sublime and support many plugins. It's still not finished, and there is a 3rd party PPA, but this sort of fast moving project seems like a nice fit to the udtc model.

@mFontoura
Copy link

I agree, since sublime is not open source and atom is looking very good, It would be great to just get atom with plugins dedicated to JavaScript (for example) using udtc

@zyga
Copy link

zyga commented Sep 10, 2014

Hey.

Since atom is composed of a lot of many pieces of javascript and that is
traditionally annoyingly hard to package in Debian. Do we have plans on how
we want to deliver atom.io for Ubuntu? I can help with packaging if someone
else would be interested in working with me on that.

2014-09-10 17:10 GMT+02:00 mFontoura notifications@github.com:

I agree, since sublime is not open source and atom is looking very good,
It would be great to just get atom with plugins dedicated to JavaScript
(for example) using udtc


Reply to this email directly or view it on GitHub
#6 (comment)
.

@LeoIannacone
Copy link

For nodejs modules you may want to take a look at npm2deb
https://github.com/LeoIannacone/npm2deb

@lazypower
Copy link
Member

Atom is already packaged in a PPA:

https://launchpad.net/~webupd8team/+archive/ubuntu/atom

http://www.webupd8.org/2014/05/atom-text-editor-ubuntu-ppa-update.html

Webupd8 has historically been pretty good about tracking upstream projects like this with regular releases.

@zyga
Copy link

zyga commented Sep 10, 2014

I'd like to see a proper package that would be accepted into debian. A
package that just dumps a load of stuff over is hardly a package, it's more
of a zip with some magic content.

We should also reach out to the atom.io upstream to see if they plan to do
any packaging of their own or would they support a proper debian package.

2014-09-10 21:45 GMT+02:00 Charles Butler notifications@github.com:

Atom is already packaged in a PPA:

https://launchpad.net/~webupd8team/+archive/ubuntu/atom
https://launchpad.net/%7Ewebupd8team/+archive/ubuntu/atom

http://www.webupd8.org/2014/05/atom-text-editor-ubuntu-ppa-update.html


Reply to this email directly or view it on GitHub
#6 (comment)
.

@didrocks
Copy link
Member

This is a discussion off topic for udtc anyway. We are not really basing our work on packages as we want to pull directly latest available released version, without doing any packaging work. Please read https://wiki.ubuntu.com/ubuntu-developer-tools-center (the philosophy section)

@Tinche
Copy link
Contributor

Tinche commented Oct 25, 2014

I was just going to open an issue for this, nice to see it already here.

Since the Atom folks don't publish prebuilt Linux binaries, probably the best approach is just using the Webupd8 PPA directly.

This also plays into UDTC basically automating the boring setup tasks developers usually do manually to get their environment on Ubuntu, an is precisely what I've been doing to get Atom for quite some time now.

Maybe a useful piece of logic to have in UDTC would be to check the current Ubuntu version, and then check the PPA for support of that version before just adding the PPA and installing the package.

I could also contact the Webupd8 fellow (Alin Andrei) and let him now what's up.

@didrocks
Copy link
Member

That sounds like a great plan! I'm unsure though of not adding "blessed" or "direclty upstream ppas" policy we should take. It's quite easy for us, like in ubuntu GNOME, to take some ppas under the ~ubuntu-desktop namespace, less about others.

I think it's something we'll discuss soon in an incoming hangout (not this week but next normally).

/me back in sane timezone (but not at home completely yet ;))

@Tinche
Copy link
Contributor

Tinche commented Oct 29, 2014

After talking to Alin a little, he directed my attention to the fact Atom has, in fact, started publishing .debs on their web site.

He also mentioned being unable to build Atom on Launchpad since Launchpad doesn't allow installing external dependencies. Anyway, here's the conversation: http://www.webupd8.org/2014/10/ubuntu-developer-tools-center-01.html#comment-1659088582

@didrocks
Copy link
Member

Oh nice (just read the conversation). I'll give a look at their debs and maybe we can contact them for some cleanups/enhancements. But yeah, directly taking work that upstream support rather than an intermediate ppa (even if I like Andrew's work) is a big +1 ;)

@jonobacon
Copy link

I wanted to revive this old ticket. Atom is a tremendous text editor and very mature. It is completely Open Source and has a very large library of extensions. Would it be possible to package this up for Ubuntu?

@didrocks
Copy link
Member

Hey Jono,

As Atom is my editor of choice, what is used to build Ubuntu Make and something I'm using on a daily bases, I have a vest interest in getting this into Make (I'm using the .deb until now) ;)

I looked at this yesterday afternoon, and the issue is that Atom doesn't distribute an archive (tar.gz) for Linux (which enables auto-updates, doesn't require root and such), which is what is required to work with Ubuntu Make (we don't use packages to keep it available/updatable on user's directory). So, I dove into the building machinery to make this archive available, which should give the benefit later on to enable auto-update of Atom for Linux users!

The pull request is at atom/atom#9554 and pending upstream's review :)
Then, I can jump on the Ubuntu Make side, once this is published (and the atom.io website is modified to publish the archive) to make this an available option for our users!

@LyzardKing
Copy link
Collaborator

Since it's merged now this is another thing we can use the github api for!
There's no tarfile yet... (just noticed your comment on the atom issue)
https://api.github.com/repos/atom/atom/releases/latest

@didrocks
Copy link
Member

yeah! Look at my followup coments though, they need to publish the built tarball as part of their released.

@jonobacon: getting close to it! :)

@sudopluto
Copy link

It seems like atom has released 1.8.0 and they now supply tarballs.

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

Successfully merging a pull request may close this issue.

10 participants