Пример #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()
Пример #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()
Пример #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()
Пример #4
0
def post_build():
    git_add_files(['PKGBUILD'])
    git_commit()
Пример #5
0
def post_build():
  git_add_files(['PKGBUILD'])
  git_commit()