From 107a43b3f6a8c5920f38ab0c70f11227b595d847 Mon Sep 17 00:00:00 2001 From: "deepin-community-ci-bot[bot]" <111498200+deepin-community-ci-bot[bot]@users.noreply.github.com> Date: Mon, 31 Jul 2023 08:48:25 +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 | 21 +++++++++++++++ debian/deepin/workflows.yml | 36 ++++++++++++++++++++++++++ debian/rules | 4 +++ debian/source/format | 1 + 12 files changed, 144 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 0000000..8dfd7b3 --- /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 0000000..3f9b471 --- /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 0000000..83ef38c --- /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 0000000..9ebb840 --- /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 0000000..bad88e2 --- /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 0000000..b4de394 --- /dev/null +++ b/debian/compat @@ -0,0 +1 @@ +11 diff --git a/debian/control b/debian/control new file mode 100644 index 0000000..cb7c4a0 --- /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 0000000..f5c805e --- /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 0000000..8115e8d --- /dev/null +++ b/debian/deepin/OWNERS @@ -0,0 +1,21 @@ +# See the OWNERS docs at https://go.k8s.io/owners + +reviewers: +- Zeno-sole +- tsic404 +- hudeng-go +- myml +- BLumia +- xzl01 +- UTsweetyfish +- Rabenda +- zccrs +- justforlxz +- Clansty +- chenchongbiao +approvers: +- Zeno-sole +- xzl01 +- UTsweetyfish +- hudeng-go +- zccrs diff --git a/debian/deepin/workflows.yml b/debian/deepin/workflows.yml new file mode 100644 index 0000000..e529705 --- /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 0000000..2d33f6a --- /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 0000000..163aaf8 --- /dev/null +++ b/debian/source/format @@ -0,0 +1 @@ +3.0 (quilt)