News for hackers. Stuff that matters.
Re:Aptly: Owning Your Debian Distribution by _qc3o on Saturday October 11, 2014 @06:30AM (#8441780)
This is really cool. If you're using Ubuntu or Debian as your base OS then you really should be managing your software with something like this and offloading your deployment to it as well. The benefits of a setup like that are dead-simple rollbacks and deployment scripts.
Re:Aptly: Owning Your Debian Distribution by chrisan on Saturday October 11, 2014 @07:20AM (#8441860)
I like the concept, but wouldnt it be better to offload deployment/rollbacks to docker?
Re:Aptly: Owning Your Debian Distribution by hosay123 on Saturday October 11, 2014 @07:32AM (#8441879)
Aptly is a repository manager, it works in terms of tightly defined package versions and dependencies.

Docker is for deployment, it works in terms of graphs of filesystem images. The tools do slightly overlap in use case, but they operate in entirely different domains.

It wouldn't be unreasonable to mix both in the same project, but there is no hard rule for when this would be appropriate.

Re:Aptly: Owning Your Debian Distribution by qwerta on Saturday October 11, 2014 @08:37AM (#8441982)
I think I will stick with a Docker. DEB packages are very complicated and this tool does not really handle dependency conflits and so on that well. Plus it does not work with RPM and other packages systems.
Re:Aptly: Owning Your Debian Distribution by icebraining on Saturday October 11, 2014 @09:38AM (#8442092)
DEB packages are very complicated

Not really, it's just a tar file with some metadata. Using fpm¹, making packages from a directory is extremely simple. I've been building internal packages from our different components, and the build script only has three or four lines. And besides, even Dockerfiles often use apt/yum.

¹ https://github.com/jordansissel/fpm

Re:Aptly: Owning Your Debian Distribution by smira on Saturday October 11, 2014 @10:02AM (#8442164)
I use fpm to build aptly .deb packages, it is extremely simple to use compared to usual source package + build path.

This is a problem for Go programs, due to multiple unversioned (usually) dependencies on other Go libraries.

Re:Aptly: Owning Your Debian Distribution by robinson-wall on Saturday October 11, 2014 @09:45AM (#8442111)
I'm currently working on transitioning to a Docker-based infrastructure. My existing system builds .debs and pushes them to an internal repository (reprepro rather than aptly because aptly was in its infancy when I built it).

I'm not going to be building .debs for installation inside Docker containers (turtles all the way down) but I would still consider something like aptly for storing and managing any obscure dependencies that my applications might require, and for maintaining a mirror on the local network to speed up image builds.

Re:Aptly: Owning Your Debian Distribution by ShawnMilo on Saturday October 11, 2014 @02:04PM (#8442870)
A container. Not "a Docker." Docker is a tool for using containers via the LXC project.
Re:Aptly: Owning Your Debian Distribution by vacri on Saturday October 11, 2014 @03:18PM (#8443153)
A "docker image". Docker images are more than just containers, though they are run in containers.