From a0118e69c4198090ed39e401ef2fcbc34c6b1345 Mon Sep 17 00:00:00 2001 From: "l.feng" <43399351+msclock@users.noreply.github.com> Date: Wed, 4 Dec 2024 10:21:23 +0800 Subject: [PATCH] chore: manual update from ss-cpp Signed-off-by: l.feng <43399351+msclock@users.noreply.github.com> --- .copier-answers.yml | 8 +++---- .github/workflows/renovate.yml | 5 ++--- .renovaterc.json | 38 +--------------------------------- LICENSE | 2 +- mkdocs.yml | 2 +- 5 files changed, 9 insertions(+), 46 deletions(-) diff --git a/.copier-answers.yml b/.copier-answers.yml index f436772..9ea1fb2 100644 --- a/.copier-answers.yml +++ b/.copier-answers.yml @@ -1,11 +1,11 @@ _commit: v1.6.12 -_src_path: gh:serious-scaffold/ss-cpp -author_email: msclock@qq.com -author_name: msclock +_src_path: https://github.com/serious-scaffold/ss-cpp +author_email: msclock@126.com +author_name: l.feng codecov_notify_builds: 1 codecov_threshold: 5% compile_target: '' -copyright_holder: msclock +copyright_holder: l.feng copyright_license: MIT License copyright_year: '2024' create_devcontainer: true diff --git a/.github/workflows/renovate.yml b/.github/workflows/renovate.yml index 85578b6..7712494 100644 --- a/.github/workflows/renovate.yml +++ b/.github/workflows/renovate.yml @@ -2,7 +2,6 @@ name: Renovate on: schedule: - # * is a special character in YAML so you have to quote this string - cron: '*/15 0-3 * * 1' workflow_dispatch: @@ -11,10 +10,10 @@ jobs: container: env: LOG_LEVEL: debug - RENOVATE_ALLOWED_POST_UPGRADE_COMMANDS: '["^git", "^pip", "^copier", "^find", "^apt"]' + RENOVATE_ALLOWED_POST_UPGRADE_COMMANDS: '["^git", "^find"]' RENOVATE_BRANCH_PREFIX: renovate-github/ RENOVATE_ENABLED: ${{ vars.RENOVATE_ENABLED || true }} - RENOVATE_ENABLED_MANAGERS: '["pep621", "github-actions", "regex", "pre-commit"]' + RENOVATE_ENABLED_MANAGERS: '["pep621", "copier", "github-actions", "regex", "pre-commit"]' RENOVATE_OPTIMIZE_FOR_DISABLED: 'true' RENOVATE_PLATFORM: github RENOVATE_REPOSITORIES: '["${{ github.repository }}"]' diff --git a/.renovaterc.json b/.renovaterc.json index ba2fcaf..fb962d4 100644 --- a/.renovaterc.json +++ b/.renovaterc.json @@ -7,6 +7,7 @@ ], "automergeType": "pr", "automergeStrategy": "merge-commit", + "ignoreScripts": false, "platformAutomerge": true, "packageRules": [ { @@ -33,29 +34,6 @@ "ghcr.io/renovatebot/renovate", "renovatebot/pre-commit-hooks" ] - }, - { - "commitMessageTopic": "serious-scaffold", - "matchDepTypes": [ - "ss-template" - ], - "postUpgradeTasks": { - "commands": [ - "git stash", - "apt update", - "apt install python3-pip -y", - "pip install copier==9.4.1 --break-system-packages", - "copier update --defaults --vcs-ref {{{newVersion}}}" - ] - }, - "semanticCommitScope": "ss-template" - }, - { - "description": "Group apt packages to avoid failure when multiple packages are outdated.", - "groupName": "apt packages", - "matchDepTypes": [ - "apt" - ] } ], "customManagers": [ @@ -98,20 +76,6 @@ "matchStrings": [ "\"baseline\": \"(?.*?)\"[^}]+?\"repository\": \"(?.*?)\"" ] - }, - { - "description": "Update ss template from serious-scaffold", - "customType": "regex", - "datasourceTemplate": "git-tags", - "depNameTemplate": "https://github.com/serious-scaffold/ss-cpp.git", - "depTypeTemplate": "ss-template", - "fileMatch": [ - "^\\.copier-answers\\.yml$" - ], - "matchStrings": [ - "_commit: (?.*?)\n" - ], - "versioningTemplate": "semver" } ] } diff --git a/LICENSE b/LICENSE index f6d412c..fa336d4 100644 --- a/LICENSE +++ b/LICENSE @@ -1,6 +1,6 @@ MIT License -Copyright (c) 2024 msclock +Copyright (c) 2024 l.feng Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/mkdocs.yml b/mkdocs.yml index 6afb5a4..4b3f9f3 100644 --- a/mkdocs.yml +++ b/mkdocs.yml @@ -3,7 +3,7 @@ site_description: Practice based on cppfront site_url: https://msclock.github.io/cppfront-practice repo_url: https://github.com/msclock/cppfront-practice repo_name: msclock/cppfront-practice -copyright: Copyright © 2024 msclock +copyright: Copyright © 2024 l.feng edit_uri: edit/master docs_dir: .