Skip to content

GitLab

  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in / Register
  • S slapos.package
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 0
    • Issues 0
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 14
    • Merge requests 14
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • nexedi
  • slapos.package
  • Repository

Switch branch/tag
  • slapos.package
  • obs
  • re6st
  • make
Find file BlameHistoryPermalink
  • Julien Muchembled's avatar
    re6st-node: reimplement in Python the part to build files to send to OBS · d181e4f5
    Julien Muchembled authored Jan 04, 2016
    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

Replace make

Attach a file by drag & drop or click to upload


Cancel
GitLab will create a branch in your fork and start a merge request.
GitLab Nexedi Edition | About GitLab | About Nexedi | 沪ICP备2021021310号-2 | 沪ICP备2021021310号-7