-
-
Notifications
You must be signed in to change notification settings - Fork 8
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
Harmonize all mirror repos #31
Conversation
This comment has been minimized.
This comment has been minimized.
Can we disable actions running on mirror repos? |
Once this is implemented (https://gitlab.eclipse.org/eclipsefdn/security/otterdog/-/issues/113), you can disable workflows on repo level using otterdog. For now, we would have to disable it manually. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fix required descriptions, and add a default description.
☝️ unless you can think of a better way to 'parameterise' the standard description. These are required as per the Adoptium governance directions. |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
With my latest commit I added templating of the description / homepage for mirror repos so we dont have to repeat it all the time. |
This comment has been minimized.
This comment has been minimized.
We have now also added support for workflow settings on repo level. It will be specified like that for the mirror repos:
Adding this change to this PR would lead to weird effects as I have to reimport the config first. I would suggest to merge this PR first and then in an additional one to disable workflows for all mirrors. |
Indeed, let's make it a separate PR. |
This comment has been minimized.
This comment has been minimized.
local jdkName(name) = | ||
if std.startsWith(name, "jdk") then | ||
"JDK%s" % [ std.substr(name, 3, std.length(name) - 3)] | ||
else | ||
name; | ||
|
||
local newMirrorRepo(repoName) = orgs.newRepo(repoName) { | ||
jdk_name:: jdkName(repoName), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Probably OK, but IMHO no need to be so fancy and parse the repo name - which is not enforced but just a standard. I would have just set the default jdk_name
to be "OpenJDK" and default jdk_url
to be "https://github.com/openjdk".
No objection to this version though.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I tried to adhere to the existing descriptions which use a phrase like JDKxx mirror. Changing that to OpenJDK should make the configuration simpler, if you are ok with that I can make the change.
This comment has been minimized.
This comment has been minimized.
Signed-off-by: Thomas Neidhart <[email protected]>
Co-authored-by: Tim Ellison <[email protected]> Signed-off-by: Thomas Neidhart <[email protected]>
Co-authored-by: Tim Ellison <[email protected]> Signed-off-by: Thomas Neidhart <[email protected]>
Co-authored-by: Tim Ellison <[email protected]> Signed-off-by: Thomas Neidhart <[email protected]>
Co-authored-by: Tim Ellison <[email protected]> Signed-off-by: Thomas Neidhart <[email protected]>
Co-authored-by: Tim Ellison <[email protected]> Signed-off-by: Thomas Neidhart <[email protected]>
Co-authored-by: Tim Ellison <[email protected]> Signed-off-by: Thomas Neidhart <[email protected]>
Co-authored-by: Tim Ellison <[email protected]> Signed-off-by: Thomas Neidhart <[email protected]>
Co-authored-by: Tim Ellison <[email protected]> Signed-off-by: Thomas Neidhart <[email protected]>
Co-authored-by: Tim Ellison <[email protected]> Signed-off-by: Thomas Neidhart <[email protected]>
Co-authored-by: Tim Ellison <[email protected]> Signed-off-by: Thomas Neidhart <[email protected]>
Signed-off-by: Thomas Neidhart <[email protected]>
Co-authored-by: Tim Ellison <[email protected]> Signed-off-by: Thomas Neidhart <[email protected]>
1f2e51d
to
a92567f
Compare
Diff for 758679a:Printing local diff for configuration at '/home/runner/work/.eclipsefdn/.eclipsefdn/otterdog-configs/otterdog.json'
Actions are indicated with the following symbols:
+ create
! modify
! forced update
- delete
Organization adoptium[id=adoptium]
there have been 4 validation infos, enable verbose output with '-v' to to display them.
! repository[name="aarch32-jdk8u"] {
! homepage = "" -> null
! }
! repository[name="alpine-jdk8u"] {
! description = "JDK8u mirror. This source code is an unmodified mirror of source code obtained from OpenJDK https://github.com/openjdk/jdk8u. It has been and may still be used to create builds that are untested and incompatible with the Java SE specification. You should not deploy or write to this code, but instead use the tested and certified Java SE compatible" -> "JDK8u mirror. This source code is an unmodified mirror of source code obtained from OpenJDK https://github.com/openjdk/jdk8u. It has been and may still be used to create builds that are untested and incompatible with the Java SE specification. You should not deploy or write to this code, but instead use the tested and certified Java SE compatible version of the code that is available at https://adoptium.net."
! has_issues = true -> false
! has_projects = true -> false
! has_wiki = true -> false
! homepage = "" -> "https://adoptium.net"
! secret_scanning = "enabled" -> "disabled"
! secret_scanning_push_protection = "enabled" -> "disabled"
! }
! repository[name="jdk"] {
! description = "JDK mirror from https://github.com/openjdk/jdk" -> "This source code is an unmodified mirror of source code obtained from OpenJDK https://github.com/openjdk/jdk. It has been and may still be used to create builds that are untested and incompatible with the Java SE specification. You should not deploy or write to this code, but instead use the tested and certified Java SE compatible version of the code that is available at https://adoptium.net."
! has_issues = true -> false
! has_projects = true -> false
! has_wiki = true -> false
! homepage = "" -> "https://adoptium.net"
! secret_scanning = "enabled" -> "disabled"
! secret_scanning_push_protection = "enabled" -> "disabled"
! }
! repository[name="jdk11u"] {
! has_issues = true -> false
! has_projects = true -> false
! has_wiki = true -> false
! homepage = "" -> "https://adoptium.net"
! secret_scanning = "enabled" -> "disabled"
! secret_scanning_push_protection = "enabled" -> "disabled"
! }
! repository[name="jdk16u"] {
! has_issues = true -> false
! has_projects = true -> false
! has_wiki = true -> false
! homepage = "" -> "https://adoptium.net"
! secret_scanning = "enabled" -> "disabled"
! secret_scanning_push_protection = "enabled" -> "disabled"
! }
! repository[name="jdk17"] {
! description = "JDK17 mirror. This source code is an unmodified mirror of source code obtained from OpenJDK https://github.com/openjdk/jdk17. It has been and may still be used to create builds that are untested and incompatible with the Java SE specification. You should not deploy or write to this code, but instead, use the tested and certified Java SE compatible version of the code that is available at https://www.adoptium.net." -> "JDK17 mirror. This source code is an unmodified mirror of source code obtained from OpenJDK https://github.com/openjdk/jdk17. It has been and may still be used to create builds that are untested and incompatible with the Java SE specification. You should not deploy or write to this code, but instead use the tested and certified Java SE compatible version of the code that is available at https://adoptium.net."
! has_issues = true -> false
! has_projects = true -> false
! has_wiki = true -> false
! homepage = "" -> "https://adoptium.net"
! secret_scanning = "enabled" -> "disabled"
! }
! repository[name="jdk17u"] {
! has_issues = true -> false
! has_projects = true -> false
! has_wiki = true -> false
! homepage = "" -> "https://adoptium.net"
! secret_scanning = "enabled" -> "disabled"
! secret_scanning_push_protection = "enabled" -> "disabled"
! }
! repository[name="jdk18"] {
! has_issues = true -> false
! has_projects = true -> false
! has_wiki = true -> false
! homepage = null -> "https://adoptium.net"
! secret_scanning = "enabled" -> "disabled"
! }
! repository[name="jdk18u"] {
! has_issues = true -> false
! has_projects = true -> false
! has_wiki = true -> false
! homepage = null -> "https://adoptium.net"
! secret_scanning = "enabled" -> "disabled"
! secret_scanning_push_protection = "enabled" -> "disabled"
! }
! repository[name="jdk19"] {
! description = "jdk19 repository" -> "JDK19 mirror. This source code is an unmodified mirror of source code obtained from OpenJDK https://github.com/openjdk/jdk19. It has been and may still be used to create builds that are untested and incompatible with the Java SE specification. You should not deploy or write to this code, but instead use the tested and certified Java SE compatible version of the code that is available at https://adoptium.net."
! has_issues = true -> false
! has_projects = true -> false
! has_wiki = true -> false
! homepage = null -> "https://adoptium.net"
! }
! repository[name="jdk19u"] {
! description = null -> "JDK19u mirror. This source code is an unmodified mirror of source code obtained from OpenJDK https://github.com/openjdk/jdk19u. It has been and may still be used to create builds that are untested and incompatible with the Java SE specification. You should not deploy or write to this code, but instead use the tested and certified Java SE compatible version of the code that is available at https://adoptium.net."
! has_issues = true -> false
! has_projects = true -> false
! has_wiki = true -> false
! homepage = null -> "https://adoptium.net"
! }
! repository[name="jdk20"] {
! description = null -> "JDK20 mirror. This source code is an unmodified mirror of source code obtained from OpenJDK https://github.com/openjdk/jdk20. It has been and may still be used to create builds that are untested and incompatible with the Java SE specification. You should not deploy or write to this code, but instead use the tested and certified Java SE compatible version of the code that is available at https://adoptium.net."
! has_issues = true -> false
! has_projects = true -> false
! has_wiki = true -> false
! homepage = null -> "https://adoptium.net"
! }
! repository[name="jdk20u"] {
! description = null -> "JDK20u mirror. This source code is an unmodified mirror of source code obtained from OpenJDK https://github.com/openjdk/jdk20u. It has been and may still be used to create builds that are untested and incompatible with the Java SE specification. You should not deploy or write to this code, but instead use the tested and certified Java SE compatible version of the code that is available at https://adoptium.net."
! has_issues = true -> false
! has_projects = true -> false
! has_wiki = true -> false
! homepage = null -> "https://adoptium.net"
! }
! repository[name="jdk21"] {
! description = null -> "JDK21 mirror. This source code is an unmodified mirror of source code obtained from OpenJDK https://github.com/openjdk/jdk21. It has been and may still be used to create builds that are untested and incompatible with the Java SE specification. You should not deploy or write to this code, but instead use the tested and certified Java SE compatible version of the code that is available at https://adoptium.net."
! has_issues = true -> false
! has_projects = true -> false
! has_wiki = true -> false
! homepage = null -> "https://adoptium.net"
! secret_scanning = "enabled" -> "disabled"
! }
! repository[name="jdk21u"] {
! description = null -> "JDK21u mirror. This source code is an unmodified mirror of source code obtained from OpenJDK https://github.com/openjdk/jdk21u. It has been and may still be used to create builds that are untested and incompatible with the Java SE specification. You should not deploy or write to this code, but instead use the tested and certified Java SE compatible version of the code that is available at https://adoptium.net."
! has_issues = true -> false
! has_projects = true -> false
! has_wiki = true -> false
! homepage = null -> "https://adoptium.net"
! }
! repository[name="jdk8u"] {
! has_issues = true -> false
! has_projects = true -> false
! has_wiki = true -> false
! homepage = "" -> "https://adoptium.net"
! }
! repository[name="jdk8u_hg"] {
! description = "JDK8u mirror from mercurial from" -> "JDK8u mirror. This source code is an unmodified mirror of source code obtained from OpenJDK http://hg.openjdk.java.net/jdk8u/jdk8u/. It has been and may still be used to create builds that are untested and incompatible with the Java SE specification. You should not deploy or write to this code, but instead use the tested and certified Java SE compatible version of the code that is available at https://adoptium.net."
! has_issues = true -> false
! has_projects = true -> false
! has_wiki = true -> false
! homepage = "http://hg.openjdk.java.net/jdk8u/jdk8u/" -> "https://adoptium.net"
! secret_scanning = "enabled" -> "disabled"
! }
Plan: 0 to add, 91 to change, 0 to delete.
╷
│ Error: 'GitHubProvider' object has no attribute 'rest_api'
╵ Showing diff to a canonical version of the configuration at '/home/runner/work/.eclipsefdn/.eclipsefdn/otterdog-configs/otterdog.json'
Organization adoptium[id=adoptium]
--- original
+++ canonical
@@ -1,7 +1,75 @@
local orgs = import 'vendor/otterdog-defaults/otterdog-defaults.libsonnet';
+local jdkName(name) =
+ if std.startsWith(name, "jdk") then
+ "JDK%s" % [ std.substr(name, 3, std.length(name) - 3)]
+ else
+ name;
+
+local newMirrorRepo(repoName) = orgs.newRepo(repoName) {
+
+ allow_merge_commit: true
+ allow_update_branch: false
+ auto_init: false
+ default_branch: "master"
+ delete_branch_on_merge: false
+ dependabot_alerts_enabled: false
+ description: "%s mirror. This source code is an unmodified mirror of source code obtained from OpenJDK %s. It has been and may still be used to create builds that are untested and incompatible with the Java SE specification. You should not deploy or write to this code, but instead use the tested and certified Java SE compatible version of the code that is available at https://adoptium.net." % [self.jdk_name, self.jdk_url]
+ has_issues: false
+ has_projects: false
+ has_wiki: false
+ homepage: "https://adoptium.net"
+ jdk_name:: jdkName(repoName)
+ jdk_url:: "https://github.com/openjdk/%s" % [self.name]
+ secret_scanning: "disabled"
+ secret_scanning_push_protection: "disabled"
+ web_commit_signoff_required: false
orgs.newOrg('adoptium') {
_repositories+:: [
+ newMirrorRepo('alpine-jdk8u') {
+ jdk_name:: "JDK8u"
+ jdk_url:: "https://github.com/openjdk/jdk8u"
+ }
+ newMirrorRepo('jdk') {
+ description: "This source code is an unmodified mirror of source code obtained from OpenJDK https://github.com/openjdk/jdk. It has been and may still be used to create builds that are untested and incompatible with the Java SE specification. You should not deploy or write to this code, but instead use the tested and certified Java SE compatible version of the code that is available at https://adoptium.net."
+ jdk_url:: "https://github.com/openjdk/jdk"
+ }
+ newMirrorRepo('jdk11u') {
+ }
+ newMirrorRepo('jdk16u') {
+ }
+ newMirrorRepo('jdk17') {
+ archived: true
+ }
+ newMirrorRepo('jdk17u') {
+ }
+ newMirrorRepo('jdk18') {
+ archived: true
+ }
+ newMirrorRepo('jdk18u') {
+ }
+ newMirrorRepo('jdk19') {
+ archived: true
+ }
+ newMirrorRepo('jdk19u') {
+ default_branch: "dev"
+ }
+ newMirrorRepo('jdk20') {
+ archived: true
+ }
+ newMirrorRepo('jdk20u') {
+ }
+ newMirrorRepo('jdk21') {
+ }
+ newMirrorRepo('jdk21u') {
+ }
+ newMirrorRepo('jdk8u') {
+ }
+ newMirrorRepo('jdk8u_hg') {
+ archived: true
+ jdk_name:: "JDK8u"
+ jdk_url:: "http://hg.openjdk.java.net/jdk8u/jdk8u/"
+ }
orgs.newRepo('.github') {
allow_auto_merge: true
allow_update_branch: false
@@ -48,6 +116,7 @@
delete_branch_on_merge: false
dependabot_alerts_enabled: false
description: "JDK8u mirror (aarch32 port). This source code is an unmodified mirror of source code obtained from OpenJDK https://github.com/openjdk/aarch32-port-jdk8u. It has been and may still be used to create builds that are untested and incompatible with the Java SE specification. You should not deploy or write to this code, but instead use the tested and certified Java SE compatible version of the code that is available at https://adoptium.net."
+ jdk_url:: "https://github.com/openjdk/aarch32-port-jdk8u"
web_commit_signoff_required: false
}
orgs.newRepo('aarch32-jdk8u_hg') {
@@ -102,21 +171,6 @@
]
web_commit_signoff_required: false
}
- orgs.newRepo('alpine-jdk8u') {
- allow_merge_commit: true
- allow_update_branch: false
- default_branch: "master"
- delete_branch_on_merge: false
- dependabot_alerts_enabled: false
- description: "JDK8u mirror. This source code is an unmodified mirror of source code obtained from OpenJDK https://github.com/openjdk/jdk8u. It has been and may still be used to create builds that are untested and incompatible with the Java SE specification. You should not deploy or write to this code, but instead use the tested and certified Java SE compatible version of the code that is available at https://adoptium.net."
- has_issues: false
- has_projects: false
- has_wiki: false
- homepage: "https://adoptium.net"
- secret_scanning: "disabled"
- secret_scanning_push_protection: "disabled"
- web_commit_signoff_required: false
- }
orgs.newRepo('api.adoptium.net') {
allow_merge_commit: true
allow_squash_merge: false
@@ -488,36 +542,6 @@
]
web_commit_signoff_required: false
}
- orgs.newRepo('jdk') {
- allow_merge_commit: true
- allow_update_branch: false
- default_branch: "master"
- delete_branch_on_merge: false
- dependabot_alerts_enabled: false
- description: "This source code is an unmodified mirror of source code obtained from OpenJDK https://github.com/openjdk/jdk. It has been and may still be used to create builds that are untested and incompatible with the Java SE specification. You should not deploy or write to this code, but instead use the tested and certified Java SE compatible version of the code that is available at https://adoptium.net."
- has_issues: false
- has_projects: false
- has_wiki: false
- homepage: "https://adoptium.net"
- secret_scanning: "disabled"
- secret_scanning_push_protection: "disabled"
- web_commit_signoff_required: false
- }
- orgs.newRepo('jdk11u') {
- allow_merge_commit: true
- allow_update_branch: false
- default_branch: "master"
- delete_branch_on_merge: false
- dependabot_alerts_enabled: false
- description: "JDK11u mirror. This source code is an unmodified mirror of source code obtained from OpenJDK https://github.com/openjdk/jdk11u. It has been and may still be used to create builds that are untested and incompatible with the Java SE specification. You should not deploy or write to this code, but instead use the tested and certified Java SE compatible version of the code that is available at https://adoptium.net."
- has_issues: false
- has_projects: false
- has_wiki: false
- homepage: "https://adoptium.net"
- secret_scanning: "disabled"
- secret_scanning_push_protection: "disabled"
- web_commit_signoff_required: false
- }
orgs.newRepo('jdk11u-fast-startup-incubator') {
allow_merge_commit: true
allow_update_branch: false
@@ -526,181 +550,6 @@
dependabot_alerts_enabled: false
web_commit_signoff_required: false
}
- orgs.newRepo('jdk16u') {
- allow_merge_commit: true
- allow_update_branch: false
- default_branch: "master"
- delete_branch_on_merge: false
- dependabot_alerts_enabled: false
- description: "JDK16u mirror. This source code is an unmodified mirror of source code obtained from OpenJDK https://github.com/openjdk/jdk16u. It has been and may still be used to create builds that are untested and incompatible with the Java SE specification. You should not deploy or write to this code, but instead use the tested and certified Java SE compatible version of the code that is available at https://adoptium.net."
- has_issues: false
- has_projects: false
- has_wiki: false
- homepage: "https://adoptium.net"
- secret_scanning: "disabled"
- secret_scanning_push_protection: "disabled"
- web_commit_signoff_required: false
- }
- orgs.newRepo('jdk17') {
- archived: true
- default_branch: "master"
- description: "JDK17 mirror. This source code is an unmodified mirror of source code obtained from OpenJDK https://github.com/openjdk/jdk17. It has been and may still be used to create builds that are untested and incompatible with the Java SE specification. You should not deploy or write to this code, but instead use the tested and certified Java SE compatible version of the code that is available at https://adoptium.net."
- has_issues: false
- has_projects: false
- has_wiki: false
- homepage: "https://adoptium.net"
- secret_scanning: "disabled"
- web_commit_signoff_required: false
- }
- orgs.newRepo('jdk17u') {
- allow_merge_commit: true
- allow_update_branch: false
- default_branch: "master"
- delete_branch_on_merge: false
- dependabot_alerts_enabled: false
- description: "JDK17u mirror. This source code is an unmodified mirror of source code obtained from OpenJDK https://github.com/openjdk/jdk17u. It has been and may still be used to create builds that are untested and incompatible with the Java SE specification. You should not deploy or write to this code, but instead use the tested and certified Java SE compatible version of the code that is available at https://adoptium.net."
- has_issues: false
- has_projects: false
- has_wiki: false
- homepage: "https://adoptium.net"
- secret_scanning: "disabled"
- secret_scanning_push_protection: "disabled"
- web_commit_signoff_required: false
- }
- orgs.newRepo('jdk18') {
- archived: true
- default_branch: "master"
- description: "JDK18 mirror. This source code is an unmodified mirror of source code obtained from OpenJDK https://github.com/openjdk/jdk18. It has been and may still be used to create builds that are untested and incompatible with the Java SE specification. You should not deploy or write to this code, but instead use the tested and certified Java SE compatible version of the code that is available at https://adoptium.net."
- has_issues: false
- has_projects: false
- has_wiki: false
- homepage: "https://adoptium.net"
- secret_scanning: "disabled"
- web_commit_signoff_required: false
- }
- orgs.newRepo('jdk18u') {
- allow_merge_commit: true
- allow_update_branch: false
- default_branch: "master"
- delete_branch_on_merge: false
- dependabot_alerts_enabled: false
- description: "JDK18u mirror. This source code is an unmodified mirror of source code obtained from OpenJDK https://github.com/openjdk/jdk18u. It has been and may still be used to create builds that are untested and incompatible with the Java SE specification. You should not deploy or write to this code, but instead use the tested and certified Java SE compatible version of the code that is available at https://adoptium.net."
- has_issues: false
- has_projects: false
- has_wiki: false
- homepage: "https://adoptium.net"
- secret_scanning: "disabled"
- secret_scanning_push_protection: "disabled"
- web_commit_signoff_required: false
- }
- orgs.newRepo('jdk19') {
- archived: true
- default_branch: "master"
- description: "JDK19 mirror. This source code is an unmodified mirror of source code obtained from OpenJDK https://github.com/openjdk/jdk19. It has been and may still be used to create builds that are untested and incompatible with the Java SE specification. You should not deploy or write to this code, but instead use the tested and certified Java SE compatible version of the code that is available at https://adoptium.net."
- has_issues: false
- has_projects: false
- has_wiki: false
- homepage: "https://adoptium.net"
- secret_scanning: "disabled"
- web_commit_signoff_required: false
- }
- orgs.newRepo('jdk19u') {
- allow_merge_commit: true
- allow_update_branch: false
- default_branch: "dev"
- delete_branch_on_merge: false
- dependabot_alerts_enabled: false
- description: "JDK19u mirror. This source code is an unmodified mirror of source code obtained from OpenJDK https://github.com/openjdk/jdk19u. It has been and may still be used to create builds that are untested and incompatible with the Java SE specification. You should not deploy or write to this code, but instead use the tested and certified Java SE compatible version of the code that is available at https://adoptium.net."
- has_issues: false
- has_projects: false
- has_wiki: false
- homepage: "https://adoptium.net"
- secret_scanning: "disabled"
- secret_scanning_push_protection: "disabled"
- web_commit_signoff_required: false
- }
- orgs.newRepo('jdk20') {
- archived: true
- default_branch: "master"
- description: "JDK20 mirror. This source code is an unmodified mirror of source code obtained from OpenJDK https://github.com/openjdk/jdk20. It has been and may still be used to create builds that are untested and incompatible with the Java SE specification. You should not deploy or write to this code, but instead use the tested and certified Java SE compatible version of the code that is available at https://adoptium.net."
- has_issues: false
- has_projects: false
- has_wiki: false
- homepage: "https://adoptium.net"
- secret_scanning: "disabled"
- web_commit_signoff_required: false
- }
- orgs.newRepo('jdk20u') {
- allow_merge_commit: true
- allow_update_branch: false
- default_branch: "master"
- delete_branch_on_merge: false
- dependabot_alerts_enabled: false
- description: "JDK20u mirror. This source code is an unmodified mirror of source code obtained from OpenJDK https://github.com/openjdk/jdk20u. It has been and may still be used to create builds that are untested and incompatible with the Java SE specification. You should not deploy or write to this code, but instead use the tested and certified Java SE compatible version of the code that is available at https://adoptium.net."
- has_issues: false
- has_projects: false
- has_wiki: false
- homepage: "https://adoptium.net"
- secret_scanning: "disabled"
- secret_scanning_push_protection: "disabled"
- web_commit_signoff_required: false
- }
- orgs.newRepo('jdk21') {
- allow_merge_commit: true
- allow_update_branch: false
- default_branch: "master"
- delete_branch_on_merge: false
- dependabot_alerts_enabled: false
- description: "JDK21 mirror. This source code is an unmodified mirror of source code obtained from OpenJDK https://github.com/openjdk/jdk21. It has been and may still be used to create builds that are untested and incompatible with the Java SE specification. You should not deploy or write to this code, but instead use the tested and certified Java SE compatible version of the code that is available at https://adoptium.net."
- has_issues: false
- has_projects: false
- has_wiki: false
- homepage: "https://adoptium.net"
- secret_scanning: "disabled"
- secret_scanning_push_protection: "disabled"
- web_commit_signoff_required: false
- }
- orgs.newRepo('jdk21u') {
- allow_merge_commit: true
- allow_update_branch: false
- default_branch: "master"
- delete_branch_on_merge: false
- dependabot_alerts_enabled: false
- description: "JDK21u mirror. This source code is an unmodified mirror of source code obtained from OpenJDK https://github.com/openjdk/jdk21u. It has been and may still be used to create builds that are untested and incompatible with the Java SE specification. You should not deploy or write to this code, but instead use the tested and certified Java SE compatible version of the code that is available at https://adoptium.net."
- has_issues: false
- has_projects: false
- has_wiki: false
- homepage: "https://adoptium.net"
- secret_scanning: "disabled"
- secret_scanning_push_protection: "disabled"
- web_commit_signoff_required: false
- }
- orgs.newRepo('jdk8u') {
- allow_merge_commit: true
- allow_update_branch: false
- default_branch: "master"
- delete_branch_on_merge: false
- dependabot_alerts_enabled: false
- description: "JDK8u mirror. This source code is an unmodified mirror of source code obtained from OpenJDK https://github.com/openjdk/jdk8u. It has been and may still be used to create builds that are untested and incompatible with the Java SE specification. You should not deploy or write to this code, but instead use the tested and certified Java SE compatible version of the code that is available at https://adoptium.net."
- has_issues: false
- has_projects: false
- has_wiki: false
- homepage: "https://adoptium.net"
- secret_scanning: "disabled"
- secret_scanning_push_protection: "disabled"
- web_commit_signoff_required: false
- }
- orgs.newRepo('jdk8u_hg') {
- archived: true
- default_branch: "master"
- description: "JDK8u mirror. This source code is an unmodified mirror of source code obtained from OpenJDK http://hg.openjdk.java.net/jdk8u/jdk8u/. It has been and may still be used to create builds that are untested and incompatible with the Java SE specification. You should not deploy or write to this code, but instead use the tested and certified Java SE compatible version of the code that is available at https://adoptium.net."
- has_issues: false
- has_projects: false
- has_wiki: false
- homepage: "https://adoptium.net"
- secret_scanning: "disabled"
- web_commit_signoff_required: false
- }
orgs.newRepo('jenkins-helper') {
allow_update_branch: false
branch_protection_rules: [
@@ -804,12 +653,14 @@
}
orgs.newRepo('temurin') {
allow_auto_merge: true
+ allow_merge_commit: false
allow_update_branch: false
branch_protection_rules: [
orgs.newBranchProtectionRule('main') {
required_approving_review_count: 1
}
]
+ default_branch: "main"
dependabot_security_updates_enabled: true
description: "Eclipse Temurin™ project assets"
has_wiki: false
@@ -998,3 +849,4 @@
}
]
}
+}; |
hmm the description exceeds now the maximum allowed length of 350, need to trim that. |
added a validation in otterdog to prevent that in the future. |
changes are now live. |
This PR provides a common template function for mirror repos to setup any mirror with consistent settings.
The following changes are there compared to the status quo: