Exemplo n.º 1
0
def post_build_always(*, success=None, **kwargs):
    bye_git_daemon()
    if success:
        with at_dir(repo_dir):
            run_cmd(["git", "push", "origin", "all"], use_pty=True)
        git_add_files('PKGBUILD')
        git_commit()
Exemplo n.º 2
0
def post_build_always(*, success=None, **kwargs):
  bye_git_daemon()
  if success:
    with at_dir(repo_dir):
      run_cmd(["git", "push", "origin", "all"], use_pty=True)
    git_add_files('PKGBUILD')
    git_commit()
Exemplo n.º 3
0
def post_build():
    package_list = '\n'.join(
        subprocess.check_output([
            'bash',
            '-c',
            'source PKGBUILD; echo ${pkgname[@]}',
        ]).decode('utf-8').strip().split(' '))
    with open('package.list', 'w') as f:
        f.write(package_list)
    git_add_files('package.list')  # aur_post_build() will commit it

    aur_post_build()
Exemplo n.º 4
0
def post_build():
    git_add_files(['PKGBUILD'])
    git_commit()
Exemplo n.º 5
0
def post_build():
  git_add_files(['PKGBUILD'])
  git_commit()