为什么 sourceforge 反复无常的观点认为我是匿名的?
我正在将 Mercurial 用于 sourceforge 项目,每次我提交时,它都会在项目提要中将我列为匿名。 我通过 http://bitbucket.org/mercurialeclipse/ 的 Eclipse Mercurial 插件使用 Mercurial。 当我推送提交时,我需要修改哪些设置才能使 SourceForge 知道我是谁?
Mercurial 知道我的用户名,只是 sourceforge 没有将其识别为我的 sourceforge 用户。 我使用 Mercurial 的命令行版本没有问题,事实上我使用它已经有一段时间了,但仍然遇到同样的问题。
提交是根据我在 .hgrc 中的用户名准确标记的,只是 sourceforge 无法正确识别我。
编辑,如果您想查看我和我的朋友正在开发的新兴项目,以了解我试图描述的症状,请在此处 https://sourceforge.net/projects/silversaga/
I'm using Mercurial for a sourceforge project, and every time I commit it lists me as being anonymous on the project feed. I am using mercurial through the Eclipse Mercurial plugin from http://bitbucket.org/mercurialeclipse/. What settings do I need to mess with for SourceForge to know who I am when I push my commits?
Mercurial knows my user name, just sourceforge isn't identifying that with my sourceforge user. I have no problem using the command line version of mercurial, in fact I was using this for a while and I still had the same problem.
The commits are accurately labeled based on my username in .hgrc, just sourceforge doesn't identify me properly.
Edit, if you want to see the fledgling project that my friend and I are working on to see the symptoms I am trying to describe, it is here https://sourceforge.net/projects/silversaga/
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
我提交了针对此问题的票。 现在已经解决了。 对于任何感兴趣的人来说,这是 SourceForge 中的一个错误,现已修复。
来自详细说明修复的票证的评论。
I filed a ticket for this issue. It has now been resolved. For anyone interested, it was a bug in SourceForge, and has now been fixed.
From the comment on the ticket detailing the fix.
您可以使用以下行在 ~/.hgrc 中设置您的用户名:
此页面有一个首选项窗口的屏幕截图,您可以在 Eclipse 中进行设置:
You can set your username in ~/.hgrc with the following lines:
This page has a screenshot of a prefernces windows where you can set this in Eclipse:
我假设 Mercurial 用户和 sourceforge 用户名是相同的? 如果不是,则可能是它们不匹配的情况。 你描述的方式听起来就像是的。 您是否尝试过附加 @sourceforge.net 或其他排列? 我自己从未使用过 sourceforge,所以我不知道类似的东西是否有意义。
否则,我建议直接询问 sourceforge 并仔细阅读他们的常见问题解答/帮助,因为这听起来像是他们的 Mercurial 设置特有的问题。 我在 bitbucket.org 上遇到了类似的问题,我在本地用户名“matt”下提交,而我的 bitbucket 用户名不同。 然后,即使他们无权访问该项目,他们也会在变更日志中链接到该用户。 我所要做的就是更改 Eclipse 设置中列出的名称,现在一切都很好。
I assume the mercurial user and sourceforge username are the same? If not, it may be a case of them not matching up. They way you describe it sounds like they are though. Have you tried appending @sourceforge.net or other permutations? I've never used sourceforge myself so I have no idea if something like that even makes sense.
Otherwise I'd suggest asking sourceforge directly and peruse their faq/help, as it sounds like an issue specific to their setup of mercurial. I had a similar issue on bitbucket.org, where I was committing under my local username "matt" whereas my bitbucket username is different. Then they'd link to that user in the changelog even though they don't have access to the project. All I had to do was change the name listed in the eclipse settings and all is well now.