▄▄██▀▄███▄ ▄■▄▀▀▀█
       ▄███▀▄▀▄███▄▄▀▀▄▄ 
      ███▀▄███████████▀▄▀               ███▄
      ▀██▄▀██████▀▄▀▀▀▄▀        ▄▄▀▄███▄■▀ █▀▀█
      ▄▄██▀▀████▄▄          ▄█▀▄▀█▄███▀▀▀▄▄█ 
    ▄███▀▄▀▄███▀▀█▀▀        ▄██▄█ ██████████▀ 
  ▄███▀▄▀▄▀▀▀█▀▄▀           ██ ██▒████▀▀▀▀▀▀▄▀
 ▄███ █▀▄ ▀▀█    ▄▄▄▄▄    ███▀█▀▀███▄ ▀▀             ▄  ▄  ▄▄▄  ▄▄  ▄   ▄ ▄   ▄
▒███ █▄█▀▀   █▄▀█▀▀▀▀▀█▄ ▀██▄▀▄▀▀███▄▄▀▄           █▄▄█ █▄   █▄▄█ █▄ ▄█ ▀▄▄▄▀
████ ▄▀▄▀   ███ ▄▄▄■ ██   ▀██▄▀▀▄▀▀█▀▀▄▀▄         █  █ ▀▄▄▄ █  █  ▀▄▀    █
▒███  ▀▄▀▄ ▀ ▄▄▄▀ ▄▀▄▀ ▀▄▄████ ▀██▄▀█▄▄█▄▄█▄
 ███▄ ▀▄ ▀      ▄▀▄▀▄▀▄█▀▀▀▀██   ███▀██▄▀█▄█▄      ▄▄▄ ▄  ▄ ▄▄▄  ▄  ▄  ▄▄▄ ▄▄▄▄▄ ▄▄▄  ▄▄▄  ▄▄▄  ▄▄▄
  ▀██▄ ▀▄  ▀      ▀ ▀  ▄▀██ ▄▄█▄██  █▀  ▀▄▀▄██        █  █▀▄█ █  █ █  █ ▀▄▄    █   █▄▄▀  █  █▄   ▀▄▄
    ▀██▄ ▀▄         ▄ ▀▄▄▀█▄▀▄▀█  ▀▄▄ ▀ ▄▀▄▀▄▀ ██      ▄█▄ █  █ █▄▄▀ ▀▄▄▀ ▄▄▄▀   █   █  █ ▄█▄ ▀▄▄▄ ▄▄▄▀
      ▀▀█▄  ▀ ▄▄▄ ▀    ██▄▀▄▀▄▀▄▀▄       ▀    ▄▀
           ▀▀           ▀██▄▀▄  ▀ ■       ▀ ▄▀
                          ▀█▄ ▀▄          ▄▀
                             ▀ ▄▄▀  ▄▄▄ ▀
                                  ▀▀▀
                                    
posted by esells on Feb 03, 2016

I recently needed an simple way to serve up debian packages via apt-get for our internal apps. Oddly enough finding something that fit our needs was a bit harder than I thought. We needed something that:

  • Supported multiple versions of the same package
  • Didn’t care about signing or “changes” files
  • Allowed us to upload via an API or some type of incoming directory
  • Could handle multiple packages coming in at once without corrupting the repo
  • Was easy to setup/maintain

There were a few services out there that fit our needs but they were not free so I took a shot at building an app to fit our use-case. The outcome was deb-simple.

Currently it supports uploading packages via POST, deleting packages via DELETE and does a good job (I think) of making sure the repository listing doesn’t become corrupted.