-
Notifications
You must be signed in to change notification settings - Fork 83
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
50208eb
commit 23d5f39
Showing
16 changed files
with
124 additions
and
32 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
language: cpp | ||
|
||
compiler: | ||
- clang | ||
|
||
osx_image: | ||
- xcode11 | ||
|
||
os: | ||
- osx | ||
|
||
addons: | ||
homebrew: | ||
packages: | ||
- pkg-config | ||
- gtkmm3 | ||
- gobject-introspection | ||
- opencascade | ||
- libzip | ||
- yaml-cpp | ||
- osrf/homebrew-simulation/cppzmq | ||
- podofo | ||
- boost | ||
- librsvg | ||
- glm | ||
- libffi | ||
- libgit2 | ||
|
||
script: PKG_CONFIG_PATH="/usr/local/opt/libffi/lib/pkgconfig:$PKG_CONFIG_PATH" make -j2 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -290,8 +290,8 @@ PullRequestItemBox::PullRequestItemBox(BaseObjectType *cobject, const Glib::RefP | |
number_label->set_text("#" + std::to_string(nr)); | ||
link_button->set_label("Open on GitHub"); | ||
link_button->set_uri(j.at("_links").at("html").at("href").get<std::string>()); | ||
std::string open_user = j.at("user").at("login"); | ||
std::string created_at = j.at("created_at"); | ||
std::string open_user = j.at("user").at("login").get<std::string>(); | ||
std::string created_at = j.at("created_at").get<std::string>(); | ||
descr_label->set_text("opened by " + open_user + " on " + created_at); | ||
} | ||
|
||
|
@@ -711,7 +711,7 @@ void PoolRemoteBox::create_pr_thread() | |
json user_info; | ||
try { | ||
user_info = client.login(gh_username, gh_password); | ||
gh_username = user_info.at("login"); | ||
gh_username = user_info.at("login").get<std::string>(); | ||
git_thread_dispatcher.emit(); | ||
} | ||
catch (const std::runtime_error &e) { | ||
|
@@ -747,14 +747,14 @@ void PoolRemoteBox::create_pr_thread() | |
std::string user_name; | ||
std::cout << std::setw(4) << user_info << std::endl; | ||
try { | ||
user_email = user_info.at("email"); | ||
user_email = user_info.at("email").get<std::string>(); | ||
} | ||
catch (...) { | ||
user_email = "[email protected]"; | ||
} | ||
|
||
try { | ||
user_name = user_info.at("name"); | ||
user_name = user_info.at("name").get<std::string>(); | ||
} | ||
catch (...) { | ||
user_name = "horizon pool manager"; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters