跳转到主要内容

不是构建处于冻结状态的包,而是在git存储库之间传播标签。

项目描述

不是构建处于冻结状态的包,而是在git存储库之间传播标签。

推送示例

version --plugin=gitchain --target-repo=file:///tmp/vdt.versionplugin.gitchain --target-ref=refs/heads/kakalkal --force -v
DEBUG:vdt.versionplugin.default:Extra argument are ['--target-repo=file:///tmp/vdt.versionplugin.gitchain', '--target-ref=refs/heads/kakalkal', '--force']
WARNING:vdt.versionplugin.default:Not tagging, this revision is already tagged as: 0.0.1

DEBUG:vdt.versionplugin.gitchain.freeze:Arguments are Namespace(force=True, target_ref='refs/heads/kakalkal', target_repo='file:///tmp/vdt.versionplugin.gitchain')
DEBUG:vdt.versionplugin.gitchain.freeze:Building version 0.0.1 with gitchain.
Note: checking out '0.0.1'.

You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by performing another checkout.

If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -b with the checkout command again. Example:

  git checkout -b new_branch_name

HEAD is now at a3b304b... Parse arguments.
DEBUG:vdt.version.shared:M  vdt/versionplugin/gitchain/freeze.py
M   vdt/versionplugin/gitchain/shared.py

打标签然后推送的示例

version --plugin=gitchain --target-repo=file:///tmp/vdt.versionplugin.gitchain --target-ref=refs/heads/kakalkal --force -v -p
DEBUG:vdt.versionplugin.default:Extra argument are ['--target-repo=file:///tmp/vdt.versionplugin.gitchain', '--target-ref=refs/heads/kakalkal', '--force']
DEBUG:vdt.versionplugin.default:Writing version 0.0.2
DEBUG:vdt.versionplugin.gitchain.freeze:Arguments are Namespace(force=True, target_ref='refs/heads/kakalkal', target_repo='file:///tmp/vdt.versionplugin.gitchain')
DEBUG:vdt.versionplugin.gitchain.freeze:Building version 0.0.2 with gitchain.
Note: checking out '0.0.2'.

You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by performing another checkout.

If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -b with the checkout command again. Example:

  git checkout -b new_branch_name

HEAD is now at a4530fe... Improved readme.
DEBUG:vdt.version.shared:
DEBUG:vdt.versionplugin.gitchain.freeze:Running command git push --force file:///tmp/vdt.versionplugin.gitchain HEAD:refs/heads/kakalkal
Counting objects: 16, done.
Delta compression using up to 2 threads.
Compressing objects: 100% (10/10), done.
Writing objects: 100% (10/10), 1.71 KiB | 0 bytes/s, done.
Total 10 (delta 4), reused 0 (delta 0)
To file:///tmp/vdt.versionplugin.gitchain
   a3b304b..a4530fe  HEAD -> kakalkal
DEBUG:vdt.versionplugin.gitchain.freeze:
Switched to branch 'master'
DEBUG:vdt.version.shared:0

推送标签的示例

version --plugin=gitchain --target-repo=file:///tmp/vdt.versionplugin.gitchain --target-ref=refs/heads/kakalkal --force -v -p --tags
DEBUG:vdt.versionplugin.default:Extra argument are ['--target-repo=file:///tmp/vdt.versionplugin.gitchain', '--target-ref=refs/heads/kakalkal', '--force', '--tags']
DEBUG:vdt.versionplugin.default:Writing version 0.0.4
DEBUG:vdt.versionplugin.gitchain.freeze:Arguments are Namespace(force=True, tags=True, target_ref='refs/heads/kakalkal', target_repo='file:///tmp/vdt.versionplugin.gitchain')
DEBUG:vdt.versionplugin.gitchain.freeze:Building version 0.0.4 with gitchain.
Note: checking out '0.0.4'.

You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by performing another checkout.

If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -b with the checkout command again. Example:

  git checkout -b new_branch_name

HEAD is now at a8a87b6... Added option to push tags as well.
DEBUG:vdt.version.shared:
DEBUG:vdt.versionplugin.gitchain.freeze:Running command git push --force --tags file:///tmp/vdt.versionplugin.gitchain HEAD:refs/heads/kakalkal
Counting objects: 15, done.
Delta compression using up to 2 threads.
Compressing objects: 100% (8/8), done.
Writing objects: 100% (8/8), 814 bytes | 0 bytes/s, done.
Total 8 (delta 4), reused 0 (delta 0)
To file:///tmp/vdt.versionplugin.gitchain
   48d1389..a8a87b6  HEAD -> kakalkal
 * [new tag]         0.0.4 -> 0.0.4
DEBUG:vdt.versionplugin.gitchain.freeze:
Switched to branch 'master'
Your branch is ahead of 'origin/master' by 1 commit.
  (use "git push" to publish your local commits)
DEBUG:vdt.version.shared:0

项目详情


下载文件

下载适用于您的平台的文件。如果您不确定选择哪个,请了解更多关于 安装包 的信息。

源分布

vdt.versionplugin.gitchain-0.0.4.tar.gz (3.9 kB 查看哈希值)

上传时间:

由以下机构支持

AWS AWS 云计算和安全赞助商 Datadog Datadog 监控 Fastly Fastly CDN Google Google 下载分析 Microsoft Microsoft PSF赞助商 Pingdom Pingdom 监控 Sentry Sentry 错误记录 StatusPage StatusPage 状态页