From 540a9eff7f43caf30cd321abb0cf793f396adee3 Mon Sep 17 00:00:00 2001 From: Anas Elgarhy Date: Thu, 11 May 2023 14:14:46 +0300 Subject: [PATCH 1/3] [doc] Update the readme --- README.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index c53d337..e7eab32 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,7 @@ -# yo-dwm +# archy-dwm ## DWM but cleaner and more usable -### Applayed patches: +### Patches - [alwayscenter](https://dwm.suckless.org/patches/alwayscenter) - [cool autostart](https://dwm.suckless.org/patches/cool_autostart) - [fullscreen](https://dwm.suckless.org/patches/fullscreen) @@ -18,7 +18,7 @@ ### Dependencies - `libxinerama-dev` - `libxft-bgra` for color emojies support -- `yo-slstatus` the status bar +- `archy-slstatus` the status bar ### Available in [![GitHub](https://img.shields.io/badge/GitHub-Main%20repo-brightgreen?style=for-the-badge&logo=GitHub)](https://github.com/anas-elgarhy/dwm-anas) @@ -26,5 +26,5 @@ [![BitBucket](https://img.shields.io/badge/BitBucket-Mirror%20repo-brightgreen?style=for-the-badge&logo=BitBucket)](https://bitbucket.org/anas_elgarhy/dwm-anas) [![Codeberg](https://img.shields.io/badge/Codeberg-Mirror%20repo-brightgreen?style=for-the-badge&logo=Codeberg)](https://codeberg.org/anas-elgarhy/dwm-anas) -### Refrences: +### References: - [XF86keysym](https://cgit.freedesktop.org/xorg/proto/x11proto/tree/XF86keysym.h) From 8d49ee09dea71d8acda87b971cfe00631d219778 Mon Sep 17 00:00:00 2001 From: Anas Elgarhy Date: Thu, 11 May 2023 18:18:47 +0300 Subject: [PATCH 2/3] [ci] Seprate the mirror action --- .github/workflows/bitbucket-mirror.yml | 17 +++++++++++ .github/workflows/codeberg-mirror.yml | 17 +++++++++++ .github/workflows/disroot-mirror.yml | 17 +++++++++++ .github/workflows/gitdab-mirror.yml | 17 +++++++++++ .github/workflows/gitea-mirror.yml | 17 +++++++++++ .github/workflows/gitlab-mirror.yml | 16 +++++++++++ .github/workflows/mirror.yml | 39 -------------------------- .github/workflows/pagure-mirror.yml | 17 +++++++++++ README.md | 15 ++++++---- 9 files changed, 128 insertions(+), 44 deletions(-) create mode 100644 .github/workflows/bitbucket-mirror.yml create mode 100644 .github/workflows/codeberg-mirror.yml create mode 100644 .github/workflows/disroot-mirror.yml create mode 100644 .github/workflows/gitdab-mirror.yml create mode 100644 .github/workflows/gitea-mirror.yml create mode 100644 .github/workflows/gitlab-mirror.yml delete mode 100644 .github/workflows/mirror.yml create mode 100644 .github/workflows/pagure-mirror.yml diff --git a/.github/workflows/bitbucket-mirror.yml b/.github/workflows/bitbucket-mirror.yml new file mode 100644 index 0000000..a4d5e82 --- /dev/null +++ b/.github/workflows/bitbucket-mirror.yml @@ -0,0 +1,17 @@ +name: Mirror the repo to bitbucket +on: [push] + +jobs: + bitbucket-mirror: + runs-on: ubuntu-latest + steps: + - name: mirror in bitbucket + uses: actions/checkout@v3 + with: + fetch-depth: 0 + - uses: yesolutions/mirror-action@master + with: + REMOTE: 'https://anas-elgarhy@bitbucket.org/anas_elgarhy/archy-dwm.git.git' + REMOTE_NAME: bitbucket + GIT_USERNAME: anas_elgarhy + GIT_PASSWORD: ${{ secrets.BITBUCKET_TOKEN }} diff --git a/.github/workflows/codeberg-mirror.yml b/.github/workflows/codeberg-mirror.yml new file mode 100644 index 0000000..db046ee --- /dev/null +++ b/.github/workflows/codeberg-mirror.yml @@ -0,0 +1,17 @@ +name: Mirror the repo to codeberg +on: [push] + +jobs: + codeberg-mirror: + runs-on: ubuntu-latest + steps: + - name: mirror in codeberg + uses: actions/checkout@v3 + with: + fetch-depth: 0 + - uses: yesolutions/mirror-action@master + with: + REMOTE: 'https://codeberg.org/archy-linux/archy-dwm.git' + REMOTE_NAME: codeberg + GIT_USERNAME: anas-elgarhy + GIT_PASSWORD: ${{ secrets.CODEBERG_TOKEN }} diff --git a/.github/workflows/disroot-mirror.yml b/.github/workflows/disroot-mirror.yml new file mode 100644 index 0000000..21d1e01 --- /dev/null +++ b/.github/workflows/disroot-mirror.yml @@ -0,0 +1,17 @@ +name: Mirror the repo to disroot +on: [push] + +jobs: + disroot-mirror: + runs-on: ubuntu-latest + steps: + - name: mirror in git.disroot + uses: actions/checkout@v3 + with: + fetch-depth: 0 + - uses: yesolutions/mirror-action@master + with: + REMOTE: 'https://git.disroot.org/archy-linux/archy-dwm.git' + REMOTE_NAME: disroot + GIT_USERNAME: anas-elgarhy + GIT_PASSWORD: ${{ secrets.DISROOT_TOKEN }} diff --git a/.github/workflows/gitdab-mirror.yml b/.github/workflows/gitdab-mirror.yml new file mode 100644 index 0000000..3f47393 --- /dev/null +++ b/.github/workflows/gitdab-mirror.yml @@ -0,0 +1,17 @@ +name: Mirror the repo to Gitdab +on: [ push ] + +jobs: + gitdab-mirror: + runs-on: ubuntu-latest + steps: + - name: mirror in Gitdab + uses: actions/checkout@v3 + with: + fetch-depth: 0 + - uses: yesolutions/mirror-action@master + with: + REMOTE: 'https://gitdab.com/archy-linux/archy-dwm.git' + REMOTE_NAME: gitdab + GIT_USERNAME: anas-elgarhy + GIT_PASSWORD: ${{ secrets.GITDAB_TOKEN }} diff --git a/.github/workflows/gitea-mirror.yml b/.github/workflows/gitea-mirror.yml new file mode 100644 index 0000000..2e7630e --- /dev/null +++ b/.github/workflows/gitea-mirror.yml @@ -0,0 +1,17 @@ +name: Mirror the repo to Gitea +on: [ push ] + +jobs: + gitea-mirror: + runs-on: ubuntu-latest + steps: + - name: mirror in Gitea + uses: actions/checkout@v3 + with: + fetch-depth: 0 + - uses: yesolutions/mirror-action@master + with: + REMOTE: 'https://gitea.com/archy-linux/archy-dwm.git' + REMOTE_NAME: gitea + GIT_USERNAME: anas-elgarhy + GIT_PASSWORD: ${{ secrets.GITEA_TOKEN }} diff --git a/.github/workflows/gitlab-mirror.yml b/.github/workflows/gitlab-mirror.yml new file mode 100644 index 0000000..628c68a --- /dev/null +++ b/.github/workflows/gitlab-mirror.yml @@ -0,0 +1,16 @@ +name: Mirror the repo to gitlab +on: [push] + +jobs: + gitlab-mirror: + runs-on: ubuntu-latest + steps: + - name: mirror in gitlab + uses: actions/checkout@v3 + with: + fetch-depth: 0 + - uses: yesolutions/mirror-action@master + with: + REMOTE: 'https://gitlab.com/archy-linux/archy-dwm' + GIT_USERNAME: Anas-Elgarhy + GIT_PASSWORD: ${{ secrets.GITLAP_TOKEN }} diff --git a/.github/workflows/mirror.yml b/.github/workflows/mirror.yml deleted file mode 100644 index a39f47a..0000000 --- a/.github/workflows/mirror.yml +++ /dev/null @@ -1,39 +0,0 @@ -# This is a basic workflow that is manually triggered -name: Mirror repo -on: [push] - -jobs: - mirror: - runs-on: ubuntu-latest - steps: - - name: mirror in gitlab - uses: actions/checkout@v3 - with: - fetch-depth: 0 - - uses: yesolutions/mirror-action@master - with: - REMOTE: 'https://gitlab.com/anas-elgarhy/dwm-anas.git' - GIT_USERNAME: Anas-Elgarhy - GIT_PASSWORD: ${{ secrets.GITLAP_TOKEN }} - - # - name: mirror in bitbucket - # uses: actions/checkout@v3 - # with: - # fetch-depth: 0 - # - uses: yesolutions/mirror-action@master - # with: - # REMOTE: 'https://anas_elgarhy@bitbucket.org/anas_elgarhy/dwm-anas.git' - # REMOTE_NAME: bitbucket - # GIT_USERNAME: anas_elgarhy - # GIT_PASSWORD: ${{ secrets.BITBUCKET_TOKEN }} - - - name: mirror in codeberg - uses: actions/checkout@v3 - with: - fetch-depth: 0 - - uses: yesolutions/mirror-action@master - with: - REMOTE: 'https://codeberg.org/anas-elgarhy/dwm-anas.git' - REMOTE_NAME: codeberg - GIT_USERNAME: anas-elgarhy - GIT_PASSWORD: ${{ secrets.CODEBERG_TOKEN }} diff --git a/.github/workflows/pagure-mirror.yml b/.github/workflows/pagure-mirror.yml new file mode 100644 index 0000000..1942f23 --- /dev/null +++ b/.github/workflows/pagure-mirror.yml @@ -0,0 +1,17 @@ +name: Mirror the repo to pagure +on: [ push ] + +jobs: + gitdab-mirror: + runs-on: ubuntu-latest + steps: + - name: mirror in Gitdab + uses: actions/checkout@v3 + with: + fetch-depth: 0 + - uses: yesolutions/mirror-action@master + with: + REMOTE: 'https://gitdab.com/archy-linux/archy-dwm.git' + REMOTE_NAME: gitdab + GIT_USERNAME: anas-elgarhy + GIT_PASSWORD: ${{ secrets.PAGURE_TOKEN }} diff --git a/README.md b/README.md index e7eab32..45f79c5 100644 --- a/README.md +++ b/README.md @@ -20,11 +20,16 @@ - `libxft-bgra` for color emojies support - `archy-slstatus` the status bar -### Available in -[![GitHub](https://img.shields.io/badge/GitHub-Main%20repo-brightgreen?style=for-the-badge&logo=GitHub)](https://github.com/anas-elgarhy/dwm-anas) -[![GitLab](https://img.shields.io/badge/GitLab-Mirror%20repo-brightgreen?style=for-the-badge&logo=GitLab)](https://gitlab.com/anas-elgarhy/dwm-anas) -[![BitBucket](https://img.shields.io/badge/BitBucket-Mirror%20repo-brightgreen?style=for-the-badge&logo=BitBucket)](https://bitbucket.org/anas_elgarhy/dwm-anas) -[![Codeberg](https://img.shields.io/badge/Codeberg-Mirror%20repo-brightgreen?style=for-the-badge&logo=Codeberg)](https://codeberg.org/anas-elgarhy/dwm-anas) +### Mirrors +* [GitHub](https://github.com/archy-linux/archy-dwm) - The upstream repository +* [GitLab](https://gitlab.com/archy-linux/archy-dwm) +* [NotABug](https://notabug.org/archy-linux/archy-dwm) - Not instant updates +* [Codeberg](https://codeberg.org/archy-linux/archy-dwm) +* [Gitea](https://gitea.com/archy-linux/archy-dwm) +* [Gitdab](https://gitdab.com/archy-linux/archy-dwm) +* [Pagure](https://pagure.io/archy-dwm) +* [Bitbucket](https://bitbucket.org/anas_elgarhy/archy-dwm) +* [disroot](https://git.disroot.org/archy-linux/archy-dwm) ### References: - [XF86keysym](https://cgit.freedesktop.org/xorg/proto/x11proto/tree/XF86keysym.h) From fd829d6d88649edae51c91ade39bd25e15320c80 Mon Sep 17 00:00:00 2001 From: Anas Elgarhy Date: Thu, 11 May 2023 18:26:35 +0300 Subject: [PATCH 3/3] [ci/fix] Fix yaml --- .github/workflows/bitbucket-mirror.yml | 2 +- .github/workflows/gitdab-mirror.yml | 24 ++++++++++++------------ .github/workflows/gitea-mirror.yml | 24 ++++++++++++------------ .github/workflows/pagure-mirror.yml | 24 ++++++++++++------------ 4 files changed, 37 insertions(+), 37 deletions(-) diff --git a/.github/workflows/bitbucket-mirror.yml b/.github/workflows/bitbucket-mirror.yml index a4d5e82..f81d0f1 100644 --- a/.github/workflows/bitbucket-mirror.yml +++ b/.github/workflows/bitbucket-mirror.yml @@ -11,7 +11,7 @@ jobs: fetch-depth: 0 - uses: yesolutions/mirror-action@master with: - REMOTE: 'https://anas-elgarhy@bitbucket.org/anas_elgarhy/archy-dwm.git.git' + REMOTE: 'https://anas-elgarhy@bitbucket.org/anas_elgarhy/archy-dwm.git' REMOTE_NAME: bitbucket GIT_USERNAME: anas_elgarhy GIT_PASSWORD: ${{ secrets.BITBUCKET_TOKEN }} diff --git a/.github/workflows/gitdab-mirror.yml b/.github/workflows/gitdab-mirror.yml index 3f47393..814ac3d 100644 --- a/.github/workflows/gitdab-mirror.yml +++ b/.github/workflows/gitdab-mirror.yml @@ -3,15 +3,15 @@ on: [ push ] jobs: gitdab-mirror: - runs-on: ubuntu-latest - steps: - - name: mirror in Gitdab - uses: actions/checkout@v3 - with: - fetch-depth: 0 - - uses: yesolutions/mirror-action@master - with: - REMOTE: 'https://gitdab.com/archy-linux/archy-dwm.git' - REMOTE_NAME: gitdab - GIT_USERNAME: anas-elgarhy - GIT_PASSWORD: ${{ secrets.GITDAB_TOKEN }} + runs-on: ubuntu-latest + steps: + - name: mirror in Gitdab + uses: actions/checkout@v3 + with: + fetch-depth: 0 + - uses: yesolutions/mirror-action@master + with: + REMOTE: 'https://gitdab.com/archy-linux/archy-dwm.git' + REMOTE_NAME: gitdab + GIT_USERNAME: anas-elgarhy + GIT_PASSWORD: ${{ secrets.GITDAB_TOKEN }} diff --git a/.github/workflows/gitea-mirror.yml b/.github/workflows/gitea-mirror.yml index 2e7630e..fa53d44 100644 --- a/.github/workflows/gitea-mirror.yml +++ b/.github/workflows/gitea-mirror.yml @@ -3,15 +3,15 @@ on: [ push ] jobs: gitea-mirror: - runs-on: ubuntu-latest - steps: - - name: mirror in Gitea - uses: actions/checkout@v3 - with: - fetch-depth: 0 - - uses: yesolutions/mirror-action@master - with: - REMOTE: 'https://gitea.com/archy-linux/archy-dwm.git' - REMOTE_NAME: gitea - GIT_USERNAME: anas-elgarhy - GIT_PASSWORD: ${{ secrets.GITEA_TOKEN }} + runs-on: ubuntu-latest + steps: + - name: mirror in Gitea + uses: actions/checkout@v3 + with: + fetch-depth: 0 + - uses: yesolutions/mirror-action@master + with: + REMOTE: 'https://gitea.com/archy-linux/archy-dwm.git' + REMOTE_NAME: gitea + GIT_USERNAME: anas-elgarhy + GIT_PASSWORD: ${{ secrets.GITEA_TOKEN }} diff --git a/.github/workflows/pagure-mirror.yml b/.github/workflows/pagure-mirror.yml index 1942f23..f010b79 100644 --- a/.github/workflows/pagure-mirror.yml +++ b/.github/workflows/pagure-mirror.yml @@ -3,15 +3,15 @@ on: [ push ] jobs: gitdab-mirror: - runs-on: ubuntu-latest - steps: - - name: mirror in Gitdab - uses: actions/checkout@v3 - with: - fetch-depth: 0 - - uses: yesolutions/mirror-action@master - with: - REMOTE: 'https://gitdab.com/archy-linux/archy-dwm.git' - REMOTE_NAME: gitdab - GIT_USERNAME: anas-elgarhy - GIT_PASSWORD: ${{ secrets.PAGURE_TOKEN }} + runs-on: ubuntu-latest + steps: + - name: mirror in Gitdab + uses: actions/checkout@v3 + with: + fetch-depth: 0 + - uses: yesolutions/mirror-action@master + with: + REMOTE: 'https://gitdab.com/archy-linux/archy-dwm.git' + REMOTE_NAME: gitdab + GIT_USERNAME: anas-elgarhy +