Live data from Hacker News

Aptly: Owning Your Debian Distribution

aptly.info

41–50 of 53 posts

Re: Aptly: Owning Your Debian Distribution

#42
Aptly rocks. I put this together for those who use Vagrant and want to test out some of Aptly's commands and functionality.

https://github.com/sepulworld/aptly-vagrant

It also sets up a Jenkins server so you can test out some build jobs that interact with Aptly.

I am looking forward to Aptly's REST API. Also on the roadmap is the ability to manage Yum repositories.

Re: Aptly: Owning Your Debian Distribution

#43
post #23

Earlier quoted context omitted.

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.

A container. Not "a Docker." Docker is a tool for using containers via the LXC project.

A "docker image". Docker images are more than just containers, though they are run in containers.

Re: Aptly: Owning Your Debian Distribution

#44
I just finished putting together an aptly repo system on Friday, with a 'testing', 'staging', and 'production' repo. Buildbot dumps unsigned builds into testing, and a meatspace process copies those builds into staging or production when appropriate.

Aptly is a godsend to people who want to run .deb repos, as previously the software was basically "run a full mirror" or "sucks to be you". Jordan Sissel (fpm author) once remarked that 'there is a lot of silly ceremony in managing .debs'. We were previously using reprepro, which was alright, but had the glaring flaw of only allowing one version of a package to live in the repo. No easy rollbacks or machines on different versions there.

Aptly is really flexible, and although it does have some corner cases or slightly unintuitive behaviour (to me), it has excellent documentation and is in heavy development. Kudos to you, smira.

Re: Aptly: Owning Your Debian Distribution

#45
post #3

I'm no grammar Nazi but the first sentence on this website had me completely tripped up: >> Linux distribution is well-tested collection of packages carefully organized and supported by the vendor. wat?

It's just article-dropping; get to know a few Eastern Europeans well and you might start doing it yourself. One of my old bosses was Bosnian Croat, dropped articles like crazy, and added them in the wrong places. She would run her important emails by me for article-fixing before sending them. She was still smarter than me and better at her job than I was. Turns out that mastery of the arbitrary rules of English artic…

No, but still a useful skill when communicating in English.

Re: Aptly: Owning Your Debian Distribution

#46
post #13

Earlier quoted context omitted.

How about using Nix on Debian/Ubuntu?

The issue with this setup is that you can't define "services" from within Nix without NixOS. A service basically ties together a set of packages and configuration and puts them in systemd. At the moment, you'd have to use an external configuration management system for actually defining your systemd services, etc.

I deploy a couple things via Nix package manger to non-NixOS systems, and I manage my own system configs, etc. within Nix. My "external configuration management system" is pared down to a small script that symlinks everything in a directory into another directory (such as /etc/init).

One thing missing from Nix is ability to store passwords and the like in the nix store, and from what I understand this applies to NixOS as well as using Nix outside NixOS. For example, every file in the nix store is world readable.

https://github.com/NixOS/nix/issues/8

Re: Aptly: Owning Your Debian Distribution

#47

Earlier quoted context omitted.

The issue with this setup is that you can't define "services" from within Nix without NixOS. A service basically ties together a set of packages and configuration and puts them in systemd. At the moment, you'd have to use an external configuration management system for actually defining your systemd services, etc.

I deploy a couple things via Nix package manger to non-NixOS systems, and I manage my own system configs, etc. within Nix. My "external configuration management system" is pared down to a small script that symlinks everything in a directory into another directory (such as /etc/init). One thing missing from Nix is ability to store passwords and the like in the nix store, and from what I understand this applies to NixO…

NixOps gets around this to some extent by allowing you to define keys to be copied to /run/keys when configuring a remote system. They thus never touch the remote store.

Re: Aptly: Owning Your Debian Distribution

#48
post #25
post #5

Earlier quoted context omitted.

Sorry for my bad English. Does this sound better: "Linux distribution is a well-tested collection of packages that are carefully organized and supported by the vendor."

Grammar aside, I'd say the plural feels more natural in this case: "Linux distributions are well-tested collections of packages …" But for singular you need to qualify "Linux distribution": "A Linux distribution is a well-tested collection of packages …" And I'd probably say "by a vendor" instead of "by the vendor" as it's not clear you're talking about a specific vendor. Also, the "a" is wrong in this: "There’s a su…

In English (en-gb) colloquialism "I ran over the cat" would be perfectly fine as "the cat" is understood to mean "our/my cat". "Your dinner's in the dog", "I locked the keys in the car", et cetera.

Similarly in a sentence like "Why don't you and the family come up to the house sometime for tea.". "The house" substitutes for "our house". Now all you need to work out is whether tea is afternoon tea, a cup of tea, or an evening meal and if the offer is sincere. I gather the response is supposed to be "That would be lovely." rather than actually trying to arrange the proffered social meeting.

Re: Aptly: Owning Your Debian Distribution

#49
post #25

Earlier quoted context omitted.

Grammar aside, I'd say the plural feels more natural in this case: "Linux distributions are well-tested collections of packages …" But for singular you need to qualify "Linux distribution": "A Linux distribution is a well-tested collection of packages …" And I'd probably say "by a vendor" instead of "by the vendor" as it's not clear you're talking about a specific vendor. Also, the "a" is wrong in this: "There’s a su…

In English (en-gb) colloquialism "I ran over the cat" would be perfectly fine as "the cat" is understood to mean "our/my cat". "Your dinner's in the dog", "I locked the keys in the car", et cetera . Similarly in a sentence like "Why don't you and the family come up to the house sometime for tea.". "The house" substitutes for "our house". Now all you need to work out is whether tea is afternoon tea, a cup of tea, or a…

Sure, but presume neither the speaker nor the recipient owns a cat. Without an obvious context ("the cat"? what cats could we both know of?), it's not entirely clear.

Saying "the" instead of "a" generally assumes a context that has either been established before during the conversation or outside of it.

Imagine a stranger telling you they "accidentally killed the koala". You'd be confused. Not that strangers telling you about exotic animals they accidentally killed wouldn't be confusing enough.

Re: Aptly: Owning Your Debian Distribution

#50
post #29

Earlier quoted context omitted.

Have you considered making the website / documentation source available in github? That would make it very easy for others to contribute suggestions.

It is actually available: https://github.com/aptly-dev/aptly-dev.github.io/tree/trunk In trunk branch, the markdown under content/ folder.

I see you've just added changes, are you looking for anyone to proof read at this stage?
Post reply on HN