You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@buildstream.apache.org by ro...@apache.org on 2020/12/29 13:30:55 UTC
[buildstream] branch bst-1.4 created (now 3f6a92f)
This is an automated email from the ASF dual-hosted git repository.
root pushed a change to branch bst-1.4
in repository https://gitbox.apache.org/repos/asf/buildstream.git.
at 3f6a92f Merge branch 'bwh/fix-git-remote-name-check-1.4' into 'bst-1.4'
This branch includes the following new commits:
new 2091dce Adding CODEOWNERS
new f5784d0 git source plugin: Fix check for remote existence
new 3f6a92f Merge branch 'bwh/fix-git-remote-name-check-1.4' into 'bst-1.4'
The 3 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
[buildstream] 02/03: git source plugin: Fix check for remote
existence
Posted by ro...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
root pushed a commit to branch bst-1.4
in repository https://gitbox.apache.org/repos/asf/buildstream.git
commit f5784d0b123ea3dabde07c68e0e37f6be0b69c41
Author: Ben Hutchings <be...@codethink.co.uk>
AuthorDate: Wed Jul 29 14:32:11 2020 +0100
git source plugin: Fix check for remote existence
When checking whether a remote exists in the cached git repository, we
currently perform a substring match on the output of 'git remote'.
This fails when there is an existing remote name that contains the
name we're looking for.
This was fixed by the rewrite of git fetching in !1808, but that
change seems unsuitable for the stable 1.4 branch.
Instead, split the command output into a list and check that the
remote name is in the list.
Closes #1372.
---
buildstream/plugins/sources/git.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/buildstream/plugins/sources/git.py b/buildstream/plugins/sources/git.py
index 4952464..94472ba 100644
--- a/buildstream/plugins/sources/git.py
+++ b/buildstream/plugins/sources/git.py
@@ -185,7 +185,7 @@ class GitMirror(SourceFetcher):
fail="Failed to retrieve list of remotes in {}".format(self.mirror),
cwd=self.mirror
)
- if remote_name not in remotes:
+ if remote_name not in remotes.strip().split():
self.source.call(
[self.source.host_git, 'remote', 'add', remote_name, url],
fail="Failed to add remote {} with url {}".format(remote_name, url),
[buildstream] 01/03: Adding CODEOWNERS
Posted by ro...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
root pushed a commit to branch bst-1.4
in repository https://gitbox.apache.org/repos/asf/buildstream.git
commit 2091dce22e072aee71f947a977d3168dd7a0bad4
Author: Tristan van Berkom <tr...@codethink.co.uk>
AuthorDate: Fri Jul 24 19:33:40 2020 +0900
Adding CODEOWNERS
As per this announcement regarding formalizing committers:
https://mail.gnome.org/archives/buildstream-list/2020-May/msg00023.html
We are now using a CODEOWNERS file to ensure only maintainers can
greenlight patches for protected branches in gitlab.
---
.gitlab/CODEOWNERS | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/.gitlab/CODEOWNERS b/.gitlab/CODEOWNERS
new file mode 100644
index 0000000..ca44a61
--- /dev/null
+++ b/.gitlab/CODEOWNERS
@@ -0,0 +1,4 @@
+# Main committers with blanket access to the project
+#
+
+* @tristanvb @juergbi @cs-shadow @BenjaminSchubert
[buildstream] 03/03: Merge branch
'bwh/fix-git-remote-name-check-1.4' into 'bst-1.4'
Posted by ro...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
root pushed a commit to branch bst-1.4
in repository https://gitbox.apache.org/repos/asf/buildstream.git
commit 3f6a92f9f7d4c113569abdaec8998c898dcb27c2
Merge: 2091dce f5784d0
Author: Tristan Van Berkom <tr...@gmail.com>
AuthorDate: Thu Aug 20 06:00:50 2020 +0000
Merge branch 'bwh/fix-git-remote-name-check-1.4' into 'bst-1.4'
git source plugin: Fix check for remote existence
See merge request BuildStream/buildstream!2031
buildstream/plugins/sources/git.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)