Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(xo-web/settings/remotes): test the remote automatically on creation/edition #3397

Merged
merged 3 commits into from
Sep 11, 2018

Conversation

badrAZ
Copy link
Contributor

@badrAZ badrAZ commented Sep 10, 2018

See #3323

Check list

Check items when done or if not relevant

  • PR reference the relevant issue (e.g. Fixes #007)
  • if UI changes, a screenshot has been added to the PR
  • CHANGELOG:
    • enhancement/bug fix entry added
    • list of packages to release updated (${name} v${new version})
  • documentation updated

Process

  1. create a PR as soon as possible
  2. mark it as WiP: (Work in Progress) if not ready to be merged
  3. when you want a review, add a reviewer
  4. if necessary, update your PR, and re- add a reviewer

@badrAZ badrAZ self-assigned this Sep 10, 2018
@badrAZ badrAZ changed the title [WiP] feat(xo-web/settings/remotes): test the remote automatically on changes [WiP] feat(xo-web/settings/remotes): test the remote automatically on creation/edition Sep 10, 2018
@julien-f julien-f mentioned this pull request Sep 10, 2018
3 tasks
@badrAZ badrAZ changed the base branch from remote-renameState to master September 11, 2018 07:19
@badrAZ badrAZ changed the title [WiP] feat(xo-web/settings/remotes): test the remote automatically on creation/edition feat(xo-web/settings/remotes): test the remote automatically on creation/edition Sep 11, 2018
_call('remote.create', { name, url, options })::tap(remote =>
testRemote(remote)
.catch(noop)
::pFinally(subscribeRemotes.forceRefresh)
Copy link
Member

Choose a reason for hiding this comment

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

Why is the refresh not directly on testRemote?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

My bad, you're right!

@julien-f julien-f merged commit 4fec816 into master Sep 11, 2018
@julien-f julien-f deleted the testRemote branch September 11, 2018 08:09
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