Skip to content

SW Updates - Fix UI issue + allow use of local DB file - #7294

Merged
maloel merged 1 commit into
realsenseai:developmentfrom
Nir-Az:SW_update_allow_local_file
Sep 13, 2020
Merged

SW Updates - Fix UI issue + allow use of local DB file#7294
maloel merged 1 commit into
realsenseai:developmentfrom
Nir-Az:SW_update_allow_local_file

Conversation

@Nir-Az

@Nir-Az Nir-Az commented Sep 10, 2020

Copy link
Copy Markdown
Collaborator
  1. Overcome im_gui issue that cause an error pop_up closing the updates window. (always force open it unless no need)
  2. Allow local version's DB file use. (Treat "file://" prefix as local file path)

Comment thread common/model-views.cpp Outdated
auto server_url = config_file::instance().get(configurations::update::sw_updates_url);
sw_update::dev_updates_profile updates_profile(dev, server_url);
std::string server_url = config_file::instance().get(configurations::update::sw_updates_url);
bool file_is_on_server = true;

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I prefer to name it with the same meaning as the curl flag, file_is_local, but up to you...

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Accepted and changed.

@Nir-Az
Nir-Az force-pushed the SW_update_allow_local_file branch from e58debb to c65b758 Compare September 10, 2020 13:16
@maloel
maloel merged commit afa3098 into realsenseai:development Sep 13, 2020
@Nir-Az

Nir-Az commented Sep 13, 2020

Copy link
Copy Markdown
Collaborator Author

Tracked on [RS5-8831]

@Nir-Az
Nir-Az deleted the SW_update_allow_local_file branch September 13, 2020 16:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants