Skip to content

Commit be6f343

Browse files
committed
docs: Rewrite Bitbucket API reference to GitHub API (see #4085)
1 parent 69a9f6f commit be6f343

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

docs/automated_build_setup.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -37,11 +37,11 @@ The reference build system works by executing the following steps in order:
3737

3838
## 1\. Change Trigger
3939

40-
Runs automatically at some interval (for example, once daily) to check if a new change has been committed to the CEF repository. The [Bitbucket REST API](https://confluence.atlassian.com/bitbucket/commits-or-commit-resource-389775478.html) exposes an endpoint that can be queried to identify the most recent commit in a branch. For example, this will return the most recent commit for 2785 branch:
40+
Runs automatically at some interval (for example, once daily) to check if a new change has been committed to the CEF repository. The [GitHub REST API](https://docs.github.com/en/rest/branches/branches#get-a-branch) exposes an endpoint that can be queried to identify the most recent commit in a branch. For example, this will return the most recent commit for 2785 branch:
4141

42-
https://api.bitbucket.org/2.0/repositories/chromiumembedded/cef/commit/2785
42+
https://api.github.com/repos/chromiumembedded/cef/branches/2785
4343

44-
The resulting "hash" value can then be compared to the last successful CEF build version to identify if a new build is required (e.g. a hash value of "1e15b7626244fa6c6455b7a24552664e4cc14fd3" from branch 2785 will match a build artifact file named "cef_binary_3.2785.\*.g1e15b76_\*.tar.bz2").
44+
The resulting "commit.sha" value can then be compared to the last successful CEF build version to identify if a new build is required (e.g. a sha value of "1e15b7626244fa6c6455b7a24552664e4cc14fd3" from branch 2785 will match a build artifact file named "cef_binary_3.2785.\*.g1e15b76_\*.tar.bz2").
4545

4646
If artifacts are stored on a shared file system then languages like Python can access the file list directly. If artifacts are stored in Artifactory then see the [Artifactory REST API](https://www.jfrog.com/confluence/display/RTF/Artifactory+REST+API) documentation for instructions on how to retrieve a directory listing.
4747

0 commit comments

Comments
 (0)