[Debian-zh-dev] fqterm 上游新版本 0.9.10 问题

Boyuan Yang byang at debian.org
Tue May 19 04:10:43 BST 2020


在 2020-05-18星期一的 11:59 +0800,atzlinux 肖盛文写道:
> 把上游 0.9.10 新版本源代码导入后,发现该版本,有几处地方版本号没有更新。
> 
> 同时还发现有到 code.google.com 的 url 没有更新,已经在上游 github 提交 Issue。
> 
> 等待上游反馈后再进行下一步工作。
> 
> 
> 
> 此次新上游代码的导入,已经在 git 提交。
> 
> 同时发现一个现象:
> 
> pristine-tar 分支里面的 ,
> 
> fqterm_0.9.9.orig.tar.gz.id 
> 
> fqterm_0.9.10.orig.tar.gz.id
> 
> 文件内容一样,但是不影响把各自版本的 orig.tar.gz 的正常提取。
> 
> 我是用 gbp pristine-tar commit ../fqterm_0.9.10.orig.tar.gz 命令导入原始压缩包的。
> 
> 不知道这里是否存在问题?

这里存在问题。请在本地(或者在 Salsa GitLab 上浏览一下你当前的 pristine-tar 分支: 
https://salsa.debian.org/chinese-team/fqterm/-/commits/pristine-tar/

很明显可以看见你重复提交了很多回。这是没有必要的,而且我并不了解你这些重复的提交会不会产生问题。

在处理 git 仓库时推荐每次打包时都仔细关注各个 git 分支发生了什么变动,需要避免无意义的提交。对于使用 gbp 的工作流来说,只要
debian/watch 文件语法正确,我会选择使用 gbp import-orig --uscan --pristine-tar
一步到位地引入新的上游版本并更新 pristine-tar 分支;在出现异常时,我会将仓库各分支回退到本次操作尚未开始的状态重新操作。当然也可以使用 gbp
pristine-tar 甚至原始的 pristine-tar 命令进行手动操作,但无论手动操作还是自动操作都需要时刻关注 git 各分支发生了什么改动。

我推荐在进行工作时另开一个 git 可视化工具方便查看实时变动。我平常使用 qgit
工具并选中启用全历史查看功能,可以实时看到各个分支的提交和详细改动历史。附件有一张我日常使用 qgit 的截图。

-- 
Boyuan Yang


> 在 2020/5/18 上午9:37, 铜豌豆 Linux 写道:
> > 大家好!
> > 
> >     fqterm 发布了 0.9.10 新版本,我这里开始制作新包。请大家不要重复工作哈。
> > 
> > patches/backport/ 目录下的补丁,会清理掉。
> > 
> > git log patches/backport/
> > commit abe23f9380523e285ba44c7952ba34e3082a8f36 (tag: debian/0.9.9-1)
> > Author: Boyuan Yang <073plan at gmail.com>
> > Date:   Thu Jun 14 19:56:24 2018 +0800
> > 
> >     debian: Backport several commits
> > 
> > 
> > 
> > -------- 转发的消息 --------
> > 主题:	Re: [mytbk/fqterm] Debian 打包发现的拼写错误补丁 (#22)
> > 日期:	Sun, 17 May 2020 09:01:32 -0700
> > 发件人:	Iru Cai (vimacs) <notifications at github.com>
> > 回复地址:	mytbk/fqterm <
> > reply+AH2XK65422H2YIPPTS4YBEF4ZVANZEVBNHHCJ33VWY at reply.github.com>
> > 收件人:	mytbk/fqterm <fqterm at noreply.github.com>
> > 抄送:	atzlinux <atzlinux at yeah.net>, Author <author at noreply.github.com>
> > 
> > 
> > 我刚刚做了个 0.9.10 的 tag.
> > 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 2020-05-18_23-10.png
Type: image/png
Size: 239464 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/chinese-developers/attachments/20200518/154f6fee/attachment-0001.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: This is a digitally signed message part
URL: <http://alioth-lists.debian.net/pipermail/chinese-developers/attachments/20200518/154f6fee/attachment-0001.sig>


More information about the Chinese-developers mailing list