commit | 3f079d353c8943e2503c5d81dfdbbc098d930c38 | [log] [tgz] |
---|---|---|
author | Luca Milanesio <luca.milanesio@gmail.com> | Tue Dec 27 23:49:44 2022 +0000 |
committer | Luca Milanesio <luca.milanesio@gmail.com> | Tue Dec 27 23:51:31 2022 +0000 |
tree | 16683312b56157a02ce658acdb23f8f6e85358bc | |
parent | 9cca06bf30e0ad78148a46c9964e05fc4c3b1747 [diff] | |
parent | f1edc8dd20785f04ffdb745fc27f17995d892fe9 [diff] |
Merge branch 'stable-3.5' * stable-3.5: Return 400 when deleting/creating an invalid project name Update documentation with the configuration of the bearer token Add bearer token to the git fetch. Associate GitRepositoryManager indirectly through a provider Introduce pull-replication user and internal group Change-Id: I16739a552fae668d8930f389056c5c83cbd4cef2
diff --git a/src/main/java/com/googlesource/gerrit/plugins/replication/pull/SourceConfiguration.java b/src/main/java/com/googlesource/gerrit/plugins/replication/pull/SourceConfiguration.java index aff1266..33cc3e8 100644 --- a/src/main/java/com/googlesource/gerrit/plugins/replication/pull/SourceConfiguration.java +++ b/src/main/java/com/googlesource/gerrit/plugins/replication/pull/SourceConfiguration.java
@@ -216,4 +216,9 @@ public int getPushBatchSize() { return 0; } + + @Override + public boolean replicateNoteDbMetaRefs() { + return true; + } }
diff --git a/src/test/java/com/googlesource/gerrit/plugins/replication/pull/api/ProjectDeletionActionIT.java b/src/test/java/com/googlesource/gerrit/plugins/replication/pull/api/ProjectDeletionActionIT.java index a46a721..de8a942 100644 --- a/src/test/java/com/googlesource/gerrit/plugins/replication/pull/api/ProjectDeletionActionIT.java +++ b/src/test/java/com/googlesource/gerrit/plugins/replication/pull/api/ProjectDeletionActionIT.java
@@ -23,7 +23,6 @@ import com.google.inject.Inject; import javax.servlet.http.HttpServletResponse; import org.apache.http.client.methods.HttpRequestBase; -import org.junit.Ignore; import org.junit.Test; public class ProjectDeletionActionIT extends ActionITBase { @@ -76,7 +75,6 @@ } @Test - @Ignore("Failing in RestApiServlet: to be enabled again once that is fixed in core") public void shouldReturnBadRequestWhenDeletingAnInvalidProjectName() throws Exception { url = getURLWithAuthenticationPrefix(INVALID_TEST_PROJECT_NAME);