1. 17 Aug, 2018 1 commit
    • Hugo Lefeuvre's avatar
      packaging: different releases for website · cd58aca8
      Hugo Lefeuvre authored
      It has been decided that we would have different releases between
      website and apt repository. The version from the website would have
      debian revision -0 and the one from apt repositories -1.
      
      The main difference resides in the fact that the version from the
      website distributes a postinst script which installs key and apt
      source.list so that Ring gets automatically updated when installed
      via one click install. This is not the case with the one from apt
      repos.
      
      Change-Id: I7bbfdfa41b0133ebe93f16bc550aa437c8ddfa6a
      cd58aca8
  2. 26 Jul, 2018 1 commit
    • Hugo Lefeuvre's avatar
      packaging: install repo and keys · c902ea1b
      Hugo Lefeuvre authored
      Currently it is very difficult for non-power-users to get Ring
      automatically updated when using the Debian package from the website.
      
      This is because configuring the Ring package repository requires
      command line operations.
      
      We want the Ring Debian/Ubuntu/whatever-Debian-based package (the
      one from the website, not the official one from the Debian archive)
      to make sure Ring's repository url and GnuPG key are installed as
      trusted source together with the binaries so that Ring gets
      transparently updated along with system updates.
      
      In order to do that, we have to change some things from the official
      package we have in the Debian archive:
      
      * we need to provide both daemon and client in a single ring-all
      package. Otherwise we will not be able to provide a one-click install
      (users would have to install daemon and client in two separate steps
      and that doesn't make much sense to non-geek users).
      
      So, replace ring by ring-all and keep building ring-daemon as before
      (we still want to provide daemon-only packages).
      
      * we need to add prerm and postinst scripts which will take care of
      installing the repo and keys (and this has to be done in different
      ways depending on the distribution) in the ring-all case.
      
      Also, remove transition package ring-gnome which has already
      disappeared from the Debian package some time ago.
      
      Change-Id: I34d5e5ba000d5d750c8db55c65b536a237a738b5
      Reviewed-by: Sébastien Blin's avatarSebastien Blin <sebastien.blin@savoirfairelinux.com>
      c902ea1b
  3. 20 Jul, 2016 1 commit
    • aviau's avatar
      Add Debian and Ubuntu packaging · f89d706d
      aviau authored
      This moves the official Debian packaging into ring-project. Jenkins
      should now be able to run packaging jobs and publish packages. It
      should also make it easy to add a `verify` check on Jenkins to test
      packaging patches.
      
      This will make it much easier to work on packaging issues because the
      build environment is now reproductible on any machine.
      
      The patch adds Makefile targets to create packages such as:
       - package-all
       - package-<DISTRO>
      
      Builds are all done inside Docker containers and it is possible to
      build many at a time with the `package-all` target.
      
      To debug a build, use `package-<DISTRO>-interactive` to obtain a shell
      inside a container, ready to launch a build.
      
      Tuleap: #781
      Change-Id: Id87a74a6c412ffc5bf82b9562639ce5a9424b06a
      f89d706d