Skip to content

Commit

Permalink
Various updates (#8)
Browse files Browse the repository at this point in the history
* Update the org metadata

The GitHub org now hosts both Sirius Web and Sirius Desktop, so make
the title and description a little more generic.

Signed-off-by: Pierre-Charles David <[email protected]>

* Add a .github repo

Signed-off-by: Pierre-Charles David <[email protected]>

* Add a sirius-legacy repo

It will be used to migrate the contents of
ssh://git.eclipse.org:29418/sirius/org.eclipse.sirius.legacy. The code
there is no longer maintained, but we'd like not to completely lose it
when Gerrit will be closed.

The GitHub repo will probably be moved into an "archived" state once
I've pushed this historical code in it.

Signed-off-by: Pierre-Charles David <[email protected]>

---------

Signed-off-by: Pierre-Charles David <[email protected]>
  • Loading branch information
pcdavid authored Dec 1, 2023
1 parent 15208a8 commit 5c7791c
Showing 1 changed file with 37 additions and 2 deletions.
39 changes: 37 additions & 2 deletions otterdog/eclipse-sirius.jsonnet
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ orgs.newOrg('eclipse-sirius') {
dependabot_alerts_enabled_for_new_repositories: false,
dependabot_security_updates_enabled_for_new_repositories: false,
dependency_graph_enabled_for_new_repositories: false,
description: "Sirius Web is a framework for building cloud graphical modelers for dedicated DSLs.",
name: "Eclipse Sirius Web",
description: "Sirius is a framework for building graphical modelers for dedicated DSLs, either for the desktop or the web.",
name: "Eclipse Sirius",
packages_containers_internal: false,
readers_can_create_discussions: true,
twitter_username: "EclipseSirius",
Expand Down Expand Up @@ -128,5 +128,40 @@ orgs.newOrg('eclipse-sirius') {
enabled: false,
},
},
orgs.newRepo('.github') {
allow_merge_commit: true,
allow_update_branch: false,
delete_branch_on_merge: false,
web_commit_signoff_required: false,
branch_protection_rules: [
orgs.newBranchProtectionRule('master') {
requires_pull_request: false,
requires_linear_history: true,
},
],
workflows+: {
actions_can_approve_pull_request_reviews: false,
},
},
orgs.newRepo('sirius-legacy') {
allow_squash_merge: false,
default_branch: "master",
delete_branch_on_merge: false,
description: "Sirius Legacy: legacy (unmaintained) components from Sirius Desktop",
has_discussions: true,
has_projects: false,
has_wiki: false,
homepage: "https://www.eclipse.org/sirius/",
workflows+: {
default_workflow_permissions: "write",
},
branch_protection_rules: [
orgs.newBranchProtectionRule('master') {
required_approving_review_count: 0,
requires_linear_history: true,
requires_strict_status_checks: true,
},
],
},
],
}

0 comments on commit 5c7791c

Please sign in to comment.