-
-
Notifications
You must be signed in to change notification settings - Fork 3k
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
Fix: Set correct branch when it's not specified in the config #5844
Commits on Sep 27, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 47ebd16 - Browse repository at this point
Copy the full SHA 47ebd16View commit details -
Configuration menu - View commit details
-
Copy full SHA for 61904c8 - Browse repository at this point
Copy the full SHA 61904c8View commit details -
Configuration menu - View commit details
-
Copy full SHA for c3f1fc0 - Browse repository at this point
Copy the full SHA c3f1fc0View commit details -
Configuration menu - View commit details
-
Copy full SHA for 90c9f9c - Browse repository at this point
Copy the full SHA 90c9f9cView commit details
Commits on Sep 30, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 43fbe2d - Browse repository at this point
Copy the full SHA 43fbe2dView commit details
Commits on Oct 11, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 8436443 - Browse repository at this point
Copy the full SHA 8436443View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3edc3ce - Browse repository at this point
Copy the full SHA 3edc3ceView commit details -
Configuration menu - View commit details
-
Copy full SHA for 7ccbac6 - Browse repository at this point
Copy the full SHA 7ccbac6View commit details -
Configuration menu - View commit details
-
Copy full SHA for e5407c3 - Browse repository at this point
Copy the full SHA e5407c3View commit details -
feat(lib-util): add type annotation for the request config
This requestConfig object will be passed to a helper for making API request
Configuration menu - View commit details
-
Copy full SHA for 3f0e711 - Browse repository at this point
Copy the full SHA 3f0e711View commit details -
Configuration menu - View commit details
-
Copy full SHA for a506b5d - Browse repository at this point
Copy the full SHA a506b5dView commit details -
Configuration menu - View commit details
-
Copy full SHA for cc5f53a - Browse repository at this point
Copy the full SHA cc5f53aView commit details -
Configuration menu - View commit details
-
Copy full SHA for cec8fbb - Browse repository at this point
Copy the full SHA cec8fbbView commit details -
feat(lib-util): add helper for getting default branch name
Include switch clause to construct API urls for different backends
Configuration menu - View commit details
-
Copy full SHA for 69d124a - Browse repository at this point
Copy the full SHA 69d124aView commit details -
Configuration menu - View commit details
-
Copy full SHA for c726ee0 - Browse repository at this point
Copy the full SHA c726ee0View commit details -
feat(gh-backend): add a boolean property to check if branch is config…
…ured The property is needed so that we'll only set default branch when branch prop is missing in config
Configuration menu - View commit details
-
Copy full SHA for bbafe77 - Browse repository at this point
Copy the full SHA bbafe77View commit details -
feat(gh-backend): set prop
branch
asmaster
when it's missing in ……config This is needed so that this property won't be empty when authorization is revoked.
Configuration menu - View commit details
-
Copy full SHA for 11e187c - Browse repository at this point
Copy the full SHA 11e187cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 67904b1 - Browse repository at this point
Copy the full SHA 67904b1View commit details
Commits on Oct 12, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 37531e1 - Browse repository at this point
Copy the full SHA 37531e1View commit details -
Configuration menu - View commit details
-
Copy full SHA for b118aea - Browse repository at this point
Copy the full SHA b118aeaView commit details -
feat(lib-util): allow token type to be undefined
Reason: Requesting information from a public repo doesn't require token
Configuration menu - View commit details
-
Copy full SHA for fa8e03c - Browse repository at this point
Copy the full SHA fa8e03cView commit details -
Configuration menu - View commit details
-
Copy full SHA for a2add4a - Browse repository at this point
Copy the full SHA a2add4aView commit details
Commits on Mar 11, 2022
-
Configuration menu - View commit details
-
Copy full SHA for eb9ce4b - Browse repository at this point
Copy the full SHA eb9ce4bView commit details
Commits on Mar 12, 2022
-
feat(github): removed setDefaultBranch function
Reason: Default branch is already set when calling `authenticate` function
Configuration menu - View commit details
-
Copy full SHA for 8319d4b - Browse repository at this point
Copy the full SHA 8319d4bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 87350d9 - Browse repository at this point
Copy the full SHA 87350d9View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7b0fda0 - Browse repository at this point
Copy the full SHA 7b0fda0View commit details -
Merge branch 'fix/default-branch' of https://github.com/bytrangle/net…
…lify-cms into fix/default-branch
Configuration menu - View commit details
-
Copy full SHA for 542a1d9 - Browse repository at this point
Copy the full SHA 542a1d9View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3694c75 - Browse repository at this point
Copy the full SHA 3694c75View commit details
Commits on Mar 14, 2022
-
fix (gitlab test): Repeat response for getting project info 2 times
Reason: The endpoint for getting Gitlab project info is called twice. Need to specify the number of times to repeat the same response as 2, or Nock will throw an error.
Configuration menu - View commit details
-
Copy full SHA for 346ac8b - Browse repository at this point
Copy the full SHA 346ac8bView commit details -
fix(gitlab test): add property
default_branch
to project responseREASON: Getting a single project through `/projects/:id` returns an object which contains `default_branch` property, among many other props. The mock response needs to convey that.
Configuration menu - View commit details
-
Copy full SHA for 714a57e - Browse repository at this point
Copy the full SHA 714a57eView commit details -
Configuration menu - View commit details
-
Copy full SHA for f77dba5 - Browse repository at this point
Copy the full SHA f77dba5View commit details
Commits on Mar 17, 2022
-
feat(lib util api): change function name
Change from `constructUrl` to `constructUrlWithParams` to indicate that the returned url may contain query string
Configuration menu - View commit details
-
Copy full SHA for 9c14584 - Browse repository at this point
Copy the full SHA 9c14584View commit details -
feat(lib-util api): Change variable name for storing API roots
Change from `rootApi` to `apiRoots` to indicate that the varible contains multiple values
Configuration menu - View commit details
-
Copy full SHA for acd47a8 - Browse repository at this point
Copy the full SHA acd47a8View commit details -
Configuration menu - View commit details
-
Copy full SHA for 98541a3 - Browse repository at this point
Copy the full SHA 98541a3View commit details -
feat(lib-util api): Change the returned value for
getDefaultBranchName
Reason: There's no `null` value for default_branch
Configuration menu - View commit details
-
Copy full SHA for 7dc9dae - Browse repository at this point
Copy the full SHA 7dc9daeView commit details -
Configuration menu - View commit details
-
Copy full SHA for 1ecd946 - Browse repository at this point
Copy the full SHA 1ecd946View commit details -
feat(api test): Add default values for mocking API
Default values include: default branch name, mock tokens and mock repo slug
Configuration menu - View commit details
-
Copy full SHA for efa741f - Browse repository at this point
Copy the full SHA efa741fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 7bf6724 - Browse repository at this point
Copy the full SHA 7bf6724View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2dfa3f6 - Browse repository at this point
Copy the full SHA 2dfa3f6View commit details -
Configuration menu - View commit details
-
Copy full SHA for ef664f6 - Browse repository at this point
Copy the full SHA ef664f6View commit details -
Configuration menu - View commit details
-
Copy full SHA for 89a2806 - Browse repository at this point
Copy the full SHA 89a2806View commit details
Commits on Mar 25, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 54f4314 - Browse repository at this point
Copy the full SHA 54f4314View commit details
Commits on Apr 11, 2022
-
feat(jest config): add moduleNameMapper for GitHub and BitBucket
Required for the test that checks setDefaultBranchName is called in lib-util to work
Configuration menu - View commit details
-
Copy full SHA for 183a0c3 - Browse repository at this point
Copy the full SHA 183a0c3View commit details -
Configuration menu - View commit details
-
Copy full SHA for 02ef43c - Browse repository at this point
Copy the full SHA 02ef43cView commit details -
feat(lib-util test): add owner login value for Github's repo response
The authenticate method of Github API wrapper extracts owner.login from repo resp
Configuration menu - View commit details
-
Copy full SHA for 5d1855c - Browse repository at this point
Copy the full SHA 5d1855cView commit details -
feat(lib-util test): change access level for Gitlab to 30
Reason: If access level is under 30, Gitlab package will throw error
Configuration menu - View commit details
-
Copy full SHA for b03d6a8 - Browse repository at this point
Copy the full SHA b03d6a8View commit details -
feat(lib-util test): add mock response for getting a user
The authenticate method of each backend requires this
Configuration menu - View commit details
-
Copy full SHA for 13f0863 - Browse repository at this point
Copy the full SHA 13f0863View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1aba0da - Browse repository at this point
Copy the full SHA 1aba0daView commit details -
Configuration menu - View commit details
-
Copy full SHA for 1f76df9 - Browse repository at this point
Copy the full SHA 1f76df9View commit details -
Configuration menu - View commit details
-
Copy full SHA for 394dc9b - Browse repository at this point
Copy the full SHA 394dc9bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 0fc96ab - Browse repository at this point
Copy the full SHA 0fc96abView commit details -
Configuration menu - View commit details
-
Copy full SHA for 6eb2ac3 - Browse repository at this point
Copy the full SHA 6eb2ac3View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6bfcf09 - Browse repository at this point
Copy the full SHA 6bfcf09View commit details -
Configuration menu - View commit details
-
Copy full SHA for 53f143a - Browse repository at this point
Copy the full SHA 53f143aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 38f73a4 - Browse repository at this point
Copy the full SHA 38f73a4View commit details -
Configuration menu - View commit details
-
Copy full SHA for af9cd9b - Browse repository at this point
Copy the full SHA af9cd9bView commit details
Commits on Apr 12, 2022
-
Configuration menu - View commit details
-
Copy full SHA for a5da48a - Browse repository at this point
Copy the full SHA a5da48aView commit details
Commits on Apr 13, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 14ddaa7 - Browse repository at this point
Copy the full SHA 14ddaa7View commit details -
Merge branch 'fix/default-branch' of https://github.com/bytrangle/net…
…lify-cms into fix/default-branch
Configuration menu - View commit details
-
Copy full SHA for 02311f4 - Browse repository at this point
Copy the full SHA 02311f4View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1789e6f - Browse repository at this point
Copy the full SHA 1789e6fView commit details
Commits on May 17, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 34375f4 - Browse repository at this point
Copy the full SHA 34375f4View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7f6de72 - Browse repository at this point
Copy the full SHA 7f6de72View commit details -
Configuration menu - View commit details
-
Copy full SHA for ec0ff89 - Browse repository at this point
Copy the full SHA ec0ff89View commit details
Commits on May 19, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 48e7175 - Browse repository at this point
Copy the full SHA 48e7175View commit details -
Configuration menu - View commit details
-
Copy full SHA for 676631f - Browse repository at this point
Copy the full SHA 676631fView commit details
Commits on May 26, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 614a5b0 - Browse repository at this point
Copy the full SHA 614a5b0View commit details -
Configuration menu - View commit details
-
Copy full SHA for 20caf5f - Browse repository at this point
Copy the full SHA 20caf5fView commit details
Commits on Mar 18, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 8db27d6 - Browse repository at this point
Copy the full SHA 8db27d6View commit details -
Configuration menu - View commit details
-
Copy full SHA for ad161df - Browse repository at this point
Copy the full SHA ad161dfView commit details
Commits on Apr 2, 2024
-
Configuration menu - View commit details
-
Copy full SHA for d4e4fe3 - Browse repository at this point
Copy the full SHA d4e4fe3View commit details -
Configuration menu - View commit details
-
Copy full SHA for c6b05f8 - Browse repository at this point
Copy the full SHA c6b05f8View commit details
Commits on Apr 3, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 5827471 - Browse repository at this point
Copy the full SHA 5827471View commit details