1
0
mirror of http://mpg123.de/trunk/.git synced 2025-08-06 10:02:38 +03:00

add madebr github mirror actions

git-svn-id: svn://scm.orgis.org/mpg123/trunk@5199 35dc7657-300d-0410-a2e5-dc2837fedb53
This commit is contained in:
thor
2022-11-03 06:58:04 +00:00
parent a58f2e6a05
commit c9d5d5ccc9
5 changed files with 2095 additions and 0 deletions

22
.github/workflows/cron.yml vendored Normal file
View File

@@ -0,0 +1,22 @@
on:
schedule:
- cron: "0 0/3 * * *" # Run every 3 hour
jobs:
git_svn_sync:
runs-on: "ubuntu-latest"
steps:
- name: "Checkout git mpg123 clone"
uses: "actions/checkout@v2"
with:
fetch-depth: 0
- name: "Download (new) revisions from mpg123 git-svn"
run: |
git remote add mpg123 https://mpg123.org/trunk/.git/
git fetch mpg123
- name: "Set mpg123's master as new master"
run: |
git switch -C master mpg123/master
- name: "Force push (new) master"
run: |
git push origin master -f

29
.github/workflows/pr.yml vendored Normal file
View File

@@ -0,0 +1,29 @@
on:
schedule:
- cron: "0 * * * *" # Run every hour
jobs:
send_mail:
runs-on: "ubuntu-latest"
steps:
- name: "Checkout git mpg123 clone"
uses: "actions/checkout@v2"
with:
ref: "updater"
- name: "Setup python"
uses: "actions/setup-python@v2"
with:
python-version: "3.x"
- name: "Install Python requirements"
run: |
python -m pip install --user pygithub
- name: "Send mail"
run: |
python scripts/mail-for-all-new-open-prs.py
env:
PUSH_GITHUB_TOKEN: ${{ secrets.PUSH_GITHUB_TOKEN }}
MAIL_RECEIVER: ${{ secrets.MAIL_RECEIVER }}
MAIL_SENDER: ${{ secrets.MAIL_SENDER }}
MAIL_SERVER: ${{ secrets.MAIL_SERVER }}
MAIL_LOGIN: ${{ secrets.MAIL_LOGIN }}
MAIL_PASSWORD: ${{ secrets.MAIL_PASSWORD }}

View File

@@ -30,6 +30,7 @@ The creator: Michael Hipp (email: hippm@informatik.uni-tuebingen.de - please bot
Contributions/ideas Thomas Orgis era (includes backports from mhipp trunk):
madebr and manx: github mirror and CI
Vitaly Kirsanov <krokoziabla@gmail.com>: ports/cmake (optional CMake build)
Won-Kyu Park <wkpark@gmail.com>: patch to get rid of asm textrels (x86 PIC)
Michael Weiser <michaelweiser@users.sf.net>: update of coreaudio output to AudioComponents API

22
README.md Normal file
View File

@@ -0,0 +1,22 @@
# mpg123 git clone
(See README for actual information about mpg123 itself, this is about the Github mirror.)
This git repo tracks [mpg123's subversion repo](http://mpg123.org/cgi-bin/scm/mpg123/).
## Branches
(This is going to change to benefit from CI actions.)
- [master](https://github.com/madebr/mpg123/tree/master): the actual mpg123 sources. This tracks mpg123 development.
- updater: contains scripts to keep the master branch up-to-date.
This is the default branch as cron github actions need to be defined in the default branch.
## Pull requests
This clone just tracks upstream. It is not official in any means.
Pull requests will not get merged by this git repo.
It is possible to open a pull request here, and open a ticket on [mpg123's official issue tracker](https://sourceforge.net/p/mpg123/bugs/).
Or send a mail to [one of the mailing lists](https://sourceforge.net/p/mpg123/mailman/).

File diff suppressed because one or more lines are too long