- html - 出于某种原因,IE8 对我的 Sass 文件中继承的 html5 CSS 不友好?
- JMeter 在响应断言中使用 span 标签的问题
- html - 在 :hover and :active? 上具有不同效果的 CSS 动画
- html - 相对于居中的 html 内容固定的 CSS 重复背景?
尝试设置从 gerrit 到我的 github 存储库的复制。获取此堆栈跟踪:
[2011-09-20 00:11:58,470] ERROR com.google.gerrit.server.git.PushReplication : Cannot replicate to git@github.com:myuser/myrepo.git
org.eclipse.jgit.errors.TransportException: git@github.com:myuser/myrepo.git: Session.connect: java.net.SocketTimeoutException: Read timed out
at org.eclipse.jgit.transport.JschConfigSessionFactory.getSession(JschConfigSessionFactory.java:138)
at org.eclipse.jgit.transport.SshTransport.getSession(SshTransport.java:121)
at org.eclipse.jgit.transport.TransportGitSsh$SshFetchConnection.(TransportGitSsh.java:248)
at org.eclipse.jgit.transport.TransportGitSsh.openFetch(TransportGitSsh.java:147)
at com.google.gerrit.server.git.PushOp.listRemote(PushOp.java:358)
at com.google.gerrit.server.git.PushOp.generateUpdates(PushOp.java:312)
at com.google.gerrit.server.git.PushOp.pushVia(PushOp.java:258)
at com.google.gerrit.server.git.PushOp.runImpl(PushOp.java:213)
at com.google.gerrit.server.git.PushOp.run(PushOp.java:166)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
at java.util.concurrent.FutureTask.run(FutureTask.java:138)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:98)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:206)
at com.google.gerrit.server.git.WorkQueue$Task.run(WorkQueue.java:324)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:662)Caused by: com.jcraft.jsch.JSchException: Session.connect: java.net.SocketTimeoutException: Read timed out
at com.jcraft.jsch.Session.connect(Session.java:504)
at org.eclipse.jgit.transport.JschConfigSessionFactory.getSession(JschConfigSessionFactory.java:128)
[remote "github"]
url = git@github.com:myuser/${name}.git
push = +refs/heads/*:refs/heads/*
push = +refs/tags/*:refs/tags/*
timeout = 5
replicationDelay = 0
authGroup = Administrators
[database]
password = secret
[ssh]
file = /home/gerrit2/.ssh/config
Host github.com:
IdentityFile ~/.ssh/id_rsa
PreferredAuthentications publickey
ssh -i etc/ssh_host_dsa_key git@github.com
ssh -i etc/ssh_host_rsa_key git@github.com
ssh -i ~/.ssh/id_rsa git@github.com
ssh -i ~/.ssh/id_dsa git@github.com
最佳答案
作为异常的名称SocketTimeoutException
说(及其 documentation details):
Signals that a timeout has occurred on a socket read or accept.
remote.<name>.timeout
Number of seconds to wait for a network read or write to complete before giving up and declaring the remote side is not responding. If 0, there is no timeout, and the push client waits indefinitely.
A timeout should be large enough to mostly transfer the objects to the other side. 1 second may be too small for larger projects, especially over a WAN link, while 10-30 seconds is a much more reasonable timeout value.
Defaults to 0 seconds, wait indefinitely.
Session.connect(int)
将简单地获取超时参数并将其传递给它创建的 Socket。我应该记录此超时的单位为
reminds me 的 JSch - 秒或毫秒。 )
关于ssh - gerrit 到 github 复制 : jsch issues,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/7472381/
我们的团队使用一种标准,在所有提交消息前加上“bz12345:”(其中 12345 被您正在处理的错误替换),我希望能够搜索具有该错误编号的所有提交。 我已阅读 http://gerrit.googl
Gerrit Review 中的“跟进”按钮有什么作用?什么时候应该使用它? 我正在使用 Gerrit 2.13.8。 最佳答案 我看到提到了这个功能here因为我自己也很好奇,所以也尝试了一下。 .
我想从 Gerrit 复制一小段代码,但行号也被复制了。有什么办法可以去掉这些行号吗? 最佳答案 IE 的更新:安装一个 page-css-editing 插件,如“Internet Explorer
我们在 Gerrit 中有一个隐藏的项目。我对这个“功能”有两个问题: 在哪里可以在磁盘或数据库上找到此设置,以便验证项目的状态? 如何使隐藏的项目再次激活? 我是 Gerrit 的管理员,并且可以通
如何订阅 gerrit 项目,以便在上传新更改时收到通知。 谢谢, 拉维 最佳答案 Settings->Watched Projects->Browse,选择合适的项目,如果需要输入分支名称,点击Wa
我有一个名为“UI_Developers”的 gerrit 组 我正在使用以下命令提交我的更改以供审核: git push origin HEAD:refs/for/master%r=abc@morg
我正在 gerrit 中为我的公司设置访问控制,并且在我们当前的内部流程中,同行评审员和编码员(他们往往是同一群人)之间存在交叉。我们还希望只需要 1 个审阅者对代码进行同行评审,如果看起来不错就提交
我目前正在使用 Gerrit 来管理一个项目,我收到了有关 gerrit 太健谈的投诉。是否有办法过滤谁收到哪些电子邮件(即代码审查所有者收到所有电子邮件,而审查者仅在添加到新代码审查或添加新补丁集时
我以前都是写commit message来连接issue系统的,比如issue #9548,redmine起始页是固定的,不知道是否可以在gerrit系统中用hook或者plugin的方式写。 因此,
我的 gerrit 废弃提交中有一些更改,有什么方法可以再次合并它吗? 最佳答案 您可以: 点击更改(“重新调整基础以解决合并冲突”文本) 点击“恢复”按钮重新打开更改 关于gerrit - 如何找回
问题 您如何搜索过去从给定审阅者那里收到过 CodeReview-2 的提交? 上下文 基本上,我想对我曾经拒绝过的每一个提交进行回顾,以便我可以将这些评论分享给更多人。使用搜索词 reviewer:
在我们的Gerrit installation中(2.8.1-2-g724b796) 我想搜索我的无法合并但必须重新设置基础的变更集。例如,this change将“可以合并”设置为“否”,并且需要手
我想使用 gerrit web UI 添加一个新的用户/用户组,但是,我无法看到任何方法来做到这一点。命令行对于多个用户来说太乏味了。有人可以首先告诉这是否可能吗? 我正在使用 gerrit 2.9.
如果我对 Gerrit 中的一项更改有多个补丁集版本,则似乎我只能提交最新的补丁集版本(因为只有一个具有必要的按钮)。有没有简单的方法来代替 提交旧补丁集版本之一 相同的变化,只在那个 Gerrit
我想更改默认的 Gerrit commit-msg Hook 以自动添加 Signed-off-by。但是,我在 Gerrit 服务器中找不到文件 commit-msg,似乎 commit-msg 包
我在 Gerrit 上有一个正在审查的补丁列表(31 个补丁,一个接一个),我想知道如何在我的本地 git 上一次拉取它们。 我知道可以通过图形界面下载补丁: Checkout: git fetch
我正在尝试对 gerrit 事件执行一些操作 添加/创建新存储库时。 创建新补丁集时。 当更改 merge 到特定分支时。 想法是在任何存储库中发生上述任何情况时在 API 端点上获取事件。 我在 A
首先,我有一些零碎的理解。 我想要的是使用 gerrit 更改网址 :- http://review.xx.yy.com/gerrit/#/c/240262/ 我想通过使用 REST API(使用 c
我的工作场所开始使用 Gerrit 来管理我们所有的项目。我以前从未使用过 Gerrit。我正在尝试找出一个好的工作流程来使用它来提交代码以供审核。 我创建了一个分支foo。我做出了 promise
试图理解 gerrit 中的 refs/for/refs/* 功能。这个问题与 refs/for/master 无关。 我们什么时候可以使用这个 refs/for/refs/* 功能。 有人可以为此解
我是一名优秀的程序员,十分优秀!