From b635f5d10edbd77c6afe50de7cdfcfea6310a004 Mon Sep 17 00:00:00 2001 From: "deepin-community-ci-bot[bot]" <111498200+deepin-community-ci-bot[bot]@users.noreply.github.com> Date: Tue, 12 Mar 2024 05:17:15 +0000 Subject: [PATCH] Initial commit --- .github/workflows/backup-to-gitlab.yml | 12 +++++++++ .github/workflows/call-auto-tag.yml | 17 ++++++++++++ .github/workflows/call-chatOps.yml | 9 +++++++ README.md | 1 + debian/changelog | 5 ++++ debian/compat | 1 + debian/control | 15 +++++++++++ debian/copyright | 22 ++++++++++++++++ debian/deepin/OWNERS | 18 +++++++++++++ debian/deepin/workflows.yml | 36 ++++++++++++++++++++++++++ debian/rules | 4 +++ debian/source/format | 1 + 12 files changed, 141 insertions(+) create mode 100644 .github/workflows/backup-to-gitlab.yml create mode 100644 .github/workflows/call-auto-tag.yml create mode 100644 .github/workflows/call-chatOps.yml create mode 100644 README.md create mode 100644 debian/changelog create mode 100644 debian/compat create mode 100644 debian/control create mode 100644 debian/copyright create mode 100644 debian/deepin/OWNERS create mode 100644 debian/deepin/workflows.yml create mode 100755 debian/rules create mode 100644 debian/source/format diff --git a/.github/workflows/backup-to-gitlab.yml b/.github/workflows/backup-to-gitlab.yml new file mode 100644 index 000000000..8dfd7b37c --- /dev/null +++ b/.github/workflows/backup-to-gitlab.yml @@ -0,0 +1,12 @@ +name: backup to gitlab +on: [push] + +concurrency: + group: ${{ github.workflow }} + cancel-in-progress: true + +jobs: + backup-to-gitlabwh: + uses: deepin-community/.github/.github/workflows/backup-to-gitlabwh.yml@master + secrets: + BRIDGETOKEN: ${{ secrets.BRIDGETOKEN }} diff --git a/.github/workflows/call-auto-tag.yml b/.github/workflows/call-auto-tag.yml new file mode 100644 index 000000000..3f9b47121 --- /dev/null +++ b/.github/workflows/call-auto-tag.yml @@ -0,0 +1,17 @@ +name: auto tag + +on: + pull_request_target: + types: [opened, synchronize, closed] + paths: + - "debian/changelog" + +concurrency: + group: ${{ github.workflow }}-pull/${{ github.event.number }} + cancel-in-progress: true + +jobs: + auto_tag: + uses: deepin-community/.github/.github/workflows/auto-tag.yml@master + secrets: + APP_PRIVATE_KEY: ${{ secrets.APP_PRIVATE_KEY }} diff --git a/.github/workflows/call-chatOps.yml b/.github/workflows/call-chatOps.yml new file mode 100644 index 000000000..83ef38cc2 --- /dev/null +++ b/.github/workflows/call-chatOps.yml @@ -0,0 +1,9 @@ +name: chatOps +on: + issue_comment: + types: [created] + +jobs: + chatopt: + uses: deepin-community/.github/.github/workflows/chatOps.yml@master + secrets: inherit diff --git a/README.md b/README.md new file mode 100644 index 000000000..9ebb84009 --- /dev/null +++ b/README.md @@ -0,0 +1 @@ +# template-repository \ No newline at end of file diff --git a/debian/changelog b/debian/changelog new file mode 100644 index 000000000..bad88e262 --- /dev/null +++ b/debian/changelog @@ -0,0 +1,5 @@ +template-repository (1.0-1) unstable; urgency=medium + + * Initial release + + -- Tsic404 Sat, 28 Jan 2023 13:46:49 +0800 diff --git a/debian/compat b/debian/compat new file mode 100644 index 000000000..b4de39476 --- /dev/null +++ b/debian/compat @@ -0,0 +1 @@ +11 diff --git a/debian/control b/debian/control new file mode 100644 index 000000000..cb7c4a069 --- /dev/null +++ b/debian/control @@ -0,0 +1,15 @@ +Source: template-repository +Section: unknown +Priority: optional +Maintainer: Tsic404 +Build-Depends: debhelper (>= 11) +Standards-Version: 4.1.3 +Homepage: https://github.com/deepin-community/template-repository +#Vcs-Browser: https://salsa.debian.org/debian/deepin-community-template-repository +#Vcs-Git: https://salsa.debian.org/debian/deepin-community-template-repository.git + +Package: template-repository +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: + diff --git a/debian/copyright b/debian/copyright new file mode 100644 index 000000000..f5c805eec --- /dev/null +++ b/debian/copyright @@ -0,0 +1,22 @@ +Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ +Upstream-Name: template-repository +Source: https://github.com/deepin-community/template-repository + +Files: * +Copyright: 2023 Tsic404 +License: GPL-2+ + This package is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + . + This package is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + . + You should have received a copy of the GNU General Public License + along with this program. If not, see + . + On Debian systems, the complete text of the GNU General + Public License version 2 can be found in "/usr/share/common-licenses/GPL-2". diff --git a/debian/deepin/OWNERS b/debian/deepin/OWNERS new file mode 100644 index 000000000..9b2bafa61 --- /dev/null +++ b/debian/deepin/OWNERS @@ -0,0 +1,18 @@ +# See the OWNERS docs at https://go.k8s.io/owners + +reviewers: +- tsic404 +- myml +- BLumia +- Rabenda +- justforlxz +- Clansty +- chenchongbiao +approvers: +- Zeno-sole +- xzl01 +- UTsweetyfish +- hudeng-go +- zccrs +- YukariChiba +- deepin-community/deepin-sysdev-team diff --git a/debian/deepin/workflows.yml b/debian/deepin/workflows.yml new file mode 100644 index 000000000..e52970556 --- /dev/null +++ b/debian/deepin/workflows.yml @@ -0,0 +1,36 @@ +test_build: + steps: + - link_package: + source_project: deepin:Develop:community + source_package: %{SCM_REPOSITORY_NAME} + target_project: deepin:CI + + - configure_repositories: + project: deepin:CI + repositories: + - name: deepin_develop + paths: + - target_project: deepin:CI + target_repository: deepin_develop + architectures: + - x86_64 + - aarch64 + + filters: + event: pull_request + +tag_build: + steps: + - trigger_services: + project: deepin:Unstable:community + package: %{SCM_REPOSITORY_NAME} + filters: + event: tag_push + +commit_build: + steps: + - trigger_services: + project: deepin:Develop:community + package: %{SCM_REPOSITORY_NAME} + filters: + event: push diff --git a/debian/rules b/debian/rules new file mode 100755 index 000000000..2d33f6ac8 --- /dev/null +++ b/debian/rules @@ -0,0 +1,4 @@ +#!/usr/bin/make -f + +%: + dh $@ diff --git a/debian/source/format b/debian/source/format new file mode 100644 index 000000000..163aaf8d8 --- /dev/null +++ b/debian/source/format @@ -0,0 +1 @@ +3.0 (quilt)