1. 15 Jan, 2016 1 commit
    • Nicolas Wavrant's avatar
      playbook/re6st-upgrader: several bug fixes and improvements · 340c9170
      Nicolas Wavrant authored
       - ensure that gpg key for opensuse repo is present
       - pre-fill cache with specific node to faster bootstrap in re6stnet-upgrader
       - re6stnet-upgrader doesn't fail if previous version of package was also a re6st-node
       - repositories keys have to be installed before updating package cache
       - re6stnet-upgrader ensures that service is enabled
       - only update once package cache in re6stnet-upgrader
      340c9170
  2. 08 Jan, 2016 2 commits
  3. 07 Jan, 2016 4 commits
    • Julien Muchembled's avatar
      re6st-node: reimplement in Python the part to build files to send to OBS · d181e4f5
      Julien Muchembled authored
      Makefile was so horrible and unreliable.
      I tried https://waf.io/ which is nice but not suitable for this
      (see the example 'wscript' at the end).
      
      Functional improvements:
      - better detection of what needs to be rebuilt or not
      - reproducible tarballs, except for the re6stnet egg
        (and the main tarball if the egg is rebuilt)
      - fewer temporary files
      
      And support for OSC is back.
      
      _______________________________________________________________________________
      
      import os, shutil, subprocess, urllib
      from waflib import Node, Utils
      
      PREFIX = "opt/re6st"
      BOOTSTRAP_URL = "http://downloads.buildout.org/1/bootstrap.py"
      repo_dict = dict(
          re6stnet="http://git.erp5.org/repos/re6stnet.git",
          slapos="http://git.erp5.org/repos/slapos.git",
      )
      
      def configure(ctx):
          for name, url in repo_dict.iteritems():
              if ctx.path.find_node(name) is None:
                  ctx.exec_command(("git", "clone", url), stdout=None, stderr=None)
      
      def cfg(task):
        ...
      d181e4f5
    • Julien Muchembled's avatar
      0fa14b78
    • Julien Muchembled's avatar
      Rewrite of re6st-node packaging · f9b61bf9
      Julien Muchembled authored
      - With a Makefile instead of a shell script to make build files,
        it's easier to only redo the necessary parts.
      - Do not bootstrap buildout in advance. This caused build failures on old
        dists when this was done with Python 2.7 (parts/buildout/site.py imported
        a module that does not exist on Python 2.6). Now everything can be prepared
        on a recent dist.
      - Minimize list of build-deps. We don't need setuptools anymore.
        We also don't rely on system chrpath anymore because SLE_12 does not have it.
      - Refactoring with upstream packaging.
      - Debian: fix upgrade path from 're6stnet' package.
      - Package re6st manpages and logrotate configuration.
      - systemd integration on RPM-based dists.
      - Fix shebang of OpenVPN/NetworkManager hooks.
      - Do never ship *.py[co] files in packages. Remove them on uninstallation
        (not done yet for Arch).
      - chrpath: Suse dists use RUNPATH instead of PATH
      - Stop stripping ELF files.
      - Greatly reduce size of packages by removing eggs/parts that were only useful
        during the build, like Perl.
      
      TODO: integrate with osc working copy ?
      
      For the record, here is an example to strip ELF files:
      
      strip:
      	cd $(DESTDIR)/$(TARGET) \
      	&& s() { chmod u+w $$x && strip -v -R .comment -R .note "$$@" $$x; } \
      	&& x=`find -type f -executable ! -name '*.so*' |xargs -r file | \
      		sed -n 's/:.*ELF.*\(executable\|shared\).*//p'` && s \
      	&& x=`find -type f -name '*.so*' |xargs -r file | \
      		sed -n 's/:.*ELF.*shared.*//p'` && s --strip-unneeded
      f9b61bf9
    • Alain Takoudjou's avatar
  4. 06 Jan, 2016 1 commit
  5. 04 Jan, 2016 1 commit
  6. 15 Dec, 2015 2 commits
  7. 14 Dec, 2015 3 commits
  8. 11 Dec, 2015 2 commits
  9. 09 Dec, 2015 1 commit
  10. 08 Dec, 2015 1 commit
  11. 03 Dec, 2015 4 commits
  12. 27 Oct, 2015 5 commits
  13. 16 Oct, 2015 1 commit
  14. 30 Sep, 2015 3 commits
  15. 03 Sep, 2015 4 commits
  16. 01 Sep, 2015 2 commits
  17. 28 Aug, 2015 2 commits
  18. 27 Aug, 2015 1 commit