问题标签 [upsource]
For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.
phpstorm - 配置 Upsource 以检查 PHP
Upsource 支持检查,我正在尝试配置它们。
我已经Project_Default.xml
在 git 下创建了文件。
如何在 upsource 中检查 PHP 代码?
git - 将 GitLab 合并请求中的所有提交添加到 Upsource 审查
我有 GitLab MR,我想在 Upsource 中查看这些更改(我想将更改从feature
to合并rc
)。feature
包含提交2, 4, 6, 8
。但是当我点击Create branch review
我的 MR 分支时,并不是所有来自 MR 的提交都被导出来审查。
我尝试以 3 种不同的方式解决问题:
- 当评论由创建时
Create branch review
,只8
添加提交,因为分支fix
是从提交创建的6
(使用搜索请求时也会发生同样的事情only-branch: {feature}
)。MR 提交:2, 4, 6, 8
- 如果我尝试通过搜索添加修订,
branch: {feature}
我会收到提交2, 3, 4, 5, 6, 8
,因为此搜索会添加来自所有合并到feature
. MR 提交:2, 4, 6, 8
- 我可以使用 request
branch: {feature} and not branch: rc
并获取我想要的所有提交,但我必须将and not branch:
所有合并到feature
. 而且我还有一个问题 - 我不能使用select all
复选框。无法加载所有符合请求的提交,仅通过单击more
按钮加载了 20 个提交。
您能否告诉我将所有 MR GitLab 提交添加到 Upsource 审查的最简单方法。
upsource - 无法从 docker 镜像启动 upsource
尝试通过https://www.jetbrains.com/help/upsource/docker-installation.html上的说明在 docker 容器上启动 upsource
docker run -it --name upsource -v /Users/rudskoy/desktop/upsource/data/:/opt/upsource/data -v /Users/rudskoy/desktop/upsource/config/:/opt/upsource/conf -v /Users/rudskoy/desktop/upsource/logs/:/opt/upsource/logs -v /Users/rudskoy/desktop/upsource/backups/:/opt/upsource/backups -p 8080:8080 jetbrains/upsource:2017.3.2888
但是我的尝试失败了:Config directory is not writable: /opt/upsource/conf
错误。
目录所有权upsource/
:
drwxr-x--- 2 13001 13001 68 4 march 14:30 backups
drwxr-x--- 2 13001 13001 68 4 march 14:30 config
drwxr-x--- 2 13001 13001 68 4 march 14:30 data
drwxr-x--- 2 13001 13001 68 4 march 14:30 logs
ps:macOS(高山脉)
ssl - 尝试通过 IIS 反向代理通过 https 访问 UpSource 返回一个空页面
我目前正在尝试使用 IIS 反向代理设置各种 Jetbrains 服务以通过 https 使用。完整的预期设置应如下所示:
通过使用以下配置,我已经为 TeamCity 和 YouTrack 提供了一些困难:
在 IIS 中,我有一个用作重定向的 TeamCity 网站。该站点的 web.config 当前如下所示:
此外,我还按照文档中的说明配置了以下服务器变量:
但是,当尝试通过https://server.company.com/upsource/访问 UpSource 时,我得到的只是一个标题为“Upsource”的空白页面。没有错误信息。甚至没有收藏图标。通过http://server.company.com:8081/访问 UpSource仍然可以正常工作。
我也已经尝试过运行以下命令链:
但是,这确实导致问题变为:
如何设置 UpSource 以像 TeamCity 和 Hub 一样工作?
对此的任何帮助将不胜感激。
iis - 在 IIS 反向代理后面为 HTTPS 设置 UpSource ~ TypeError: Failed to fetch
我正在尝试使用反向 IIS 代理在单个服务器上通过 https 设置 UpSource 以及 YouTrack、TeamCity 和 Hub。
情况如下:
UpSource 的 http 版本位于http://server.company.com:8081/upsource并且工作正常。我希望它可以通过https://server.company.com/upsource访问。但是,虽然可以通过 https 地址访问 UpSource,但连接会立即中断,并出现以下错误消息:
考虑到后端似乎可用并且正在运行,因为http://server.company.com:8081/upsource运行良好,我发现这个错误很奇怪且令人困惑。
至于我的配置,我主要按照文档中概述的步骤进行设置,并在需要的地方进行修改以说明我们有四个 JetBrains 服务在单个服务器上运行并通过同一个 IIS 反向代理。
IIS 代理的当前 web.config 内容如下:
正如我所提到的,这已经适用于 TeamCity 和 Hub。但是,对于 UpSource,似乎仍然缺少一些东西,这可能与“TypeError: Failed to fetch”有关。我试过查找,但到目前为止找不到任何有用的信息。
如果有人对如何解决此问题有任何想法,我将非常乐意就此获得更多意见
sonarqube - Upsource 和 SonarQube
有没有人设法让 SonarQube 与 Upsource 合作?我已经为 SonarQube 下载了 upsource-sonar-plugin-0.1-SNAPSHOT.jar 插件,并在我通过 /s 开关添加的 SonarQube 设置文件中设置了以下内容
对于 sonar.upsource.token,我尝试了 Upsource 构建身份验证令牌和用户永久令牌。
运行时我没有收到任何错误
并在输出中得到以下内容
但是,我在 Upsource 中没有看到任何关于 SonarQube 发现的信息。
gitlab - 如何将 Upsource 评论与 GitLab 讨论同步
通过提供 OAuth 详细信息,我已将 Upsource 与 Gitlab 集成,现在我能够获取存储库、所有合并请求以及活动 MR 发生的任何评论。
但是如果我从 Upsource 写消息,它不会与 Gitlab 同步,Gitlab 的用户看不到我的评论。有没有办法解决这个问题?
谢谢你。
macos - 尝试使用 Intellij IDEA Upsource 插件登录时连接被拒绝
我正在尝试使用 Upsource 集成插件登录到 Intellij Upsource 服务器。
配置 Upsource URL 后,单击“测试连接”会打开浏览器,并提示我登录 Upsource 服务器。这失败了,我的浏览器中出现“连接被拒绝”错误。
我可以在 Intellij 日志文件中看到在端口 3100 上尝试连接到我的计算机:
他们的 MacOS 防火墙已启用,但未显示任何阻止尝试。IntelliJ 配置为允许传入连接。
docker - How to connect youtrack, upsource and teamcity to hub all running as docker containers on the same machine
Since we are a small team we want to put JetBrains' Hub, Youtrack, Upsource and Teamcity as docker containers (all on the same machine for now). Docker is running on Photon OS 2.0 running on ESXi 6.7. Nginx in another container acts as a DNS proxy so all services are reachable with their own domain names on port 80 for now...
I got all 5 services running and and can access them in a browser. However connecting Youtrack, Upsource and Teamcity to Hub is a challenge. Youtrack, Upsource and Teamcity ask for the Hub URL
to confirm it and ask for permission to access Hub.
The Problem:
- Hub URL: http://hub.teamtools.mydomain.com -> the container can not access it under that address and verification fails with timeout
- Hub URL: http://172.18.0.3:8080 -> the container can access Hub on the internal docker net and then shows a pop up which is trying to show a confirmation page by redirecting to Hub on that internal IP which of course fails in the browser (I tried to copy the URL from the popup into a new window and adjust it there as a hack but that does not work.)
Questions:
- How can I link Youtrack, Upsource and Teamcity to the Hub? In order for the confimation process to work the docker containers need to be able to access each other with an external IP/domain name.
- Does anything speak against having all four Teamtools on the same machine to get started and separate them later as demand grows?
Configuration so far:
The containers have been turned into services like so:
/etc/systemd/system/docker.nginx.servcie
/etc/systemd/system/docker.hub.service
... and so on. Since I'm, still trying things out, the ports are mapped on the host and exposed so nginx-proxy can pick them up. I also added static IPs to the containers hoping this would help with my problem.
Running those services results in:
Additional Info:
I did consider this could be a firewall issue and this post seems to suggest the same thing:
After some discussion with the provider of the virtual server it turned out, that conflicting firewall rules between plesk firewall and iptables caused this problem. After the conflict had been fixed by the provider the container could be accessed.
Firewall on Photon with rules auto added by docker:
teamcity - 基于拉取请求构建 TeamCity 的 Upsource
我在 Bitbucket 上托管了项目,并且正在使用 Upsource 进行评论/拉取请求。有没有办法设置 TeamCity 来构建正在审核的分支?我看到了 Github 的指南,遗憾的是它不适用于 Bitbucket,因为添加+:refs/pull/*/merge
并没有改变任何东西。
我希望有这样的工作流程。
- 创建评论
- TeamCity 运行构建
- Upsource 中的图标表示构建正常