Skip to content

Commit

Permalink
Merge branch 'eclipse-tractusx:main' into Circularity-KIT-Update-24.0…
Browse files Browse the repository at this point in the history
…8-Adoption-View-Fixed
  • Loading branch information
LuisRickert authored Nov 15, 2024
2 parents 3a2bb63 + cbf612b commit aae9417
Show file tree
Hide file tree
Showing 4 changed files with 154 additions and 5 deletions.
2 changes: 1 addition & 1 deletion DEPENDENCIES
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ npm/npmjs/-/cose-base/2.2.0, MIT, approved, clearlydefined
npm/npmjs/-/cosmiconfig/6.0.0, MIT, approved, clearlydefined
npm/npmjs/-/cosmiconfig/7.1.0, MIT, approved, #4975
npm/npmjs/-/cross-fetch/3.1.5, MIT, approved, clearlydefined
npm/npmjs/-/cross-spawn/7.0.3, MIT, approved, clearlydefined
npm/npmjs/-/cross-spawn/7.0.3, MIT, approved, #17146
npm/npmjs/-/crypto-js/4.1.1, MIT AND BSD-2-Clause, approved, #6630
npm/npmjs/-/crypto-random-string/2.0.0, MIT, approved, clearlydefined
npm/npmjs/-/css-declaration-sorter/6.3.1, ISC, approved, clearlydefined
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,7 @@ Here's an example how such a submodel descriptor could look like:
"keys": [
{
"type": "GlobalReference",
"value": "urn:samm:io.catenax.serial_part:1.0.1#SerialPart"
"value": "urn:samm:io.catenax.serial_part:3.0.0#SerialPart"
}
]
},
Expand Down Expand Up @@ -253,7 +253,7 @@ Here's an example how such a submodel descriptor could look like:
"keys": [
{
"type": "GlobalReference",
"value": "urn:samm:io.catenax.serial_part:1.0.1#SerialPart"
"value": "urn:samm:io.catenax.serial_part:3.0.0#SerialPart"
}
]
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,7 @@ Here's an example how such a submodel descriptor could look like:
"keys": [
{
"type": "GlobalReference",
"value": "urn:samm:io.catenax.serial_part:1.0.1#SerialPart"
"value": "urn:samm:io.catenax.serial_part:3.0.0#SerialPart"
}
]
},
Expand Down Expand Up @@ -253,7 +253,7 @@ Here's an example how such a submodel descriptor could look like:
"keys": [
{
"type": "GlobalReference",
"value": "urn:samm:io.catenax.serial_part:1.0.1#SerialPart"
"value": "urn:samm:io.catenax.serial_part:3.0.0#SerialPart"
}
]
},
Expand Down
149 changes: 149 additions & 0 deletions docs/release/trg-7/trg-7-09.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,149 @@
---
title: TRG 7.09 - Deprecation of Unmaintained Repositories
---

| Status | Created | Post-History |
|---------|-------------|---------------------------------------|
| Active | 12-Nov-2024 | Initial draft |

## Why

Eclipse Tractus-X is an open source project governed by the Eclipse Foundation and its Committers. Besides the role participating in maintaining the code base, committers are responsible for its security and adherence to the [Eclipse Tractus-X Releases Guidelines](https://eclipse-tractusx.github.io/docs/release) (TRG's) as well as the guidelines set by the Eclipse Foundation. As this group of committers is responsible for the whole project and has limited resources, repositories that are not maintained for a given time period will be deprecated.

## Description

Deprecation of a repository means that **the repository is being archived**, i.e. set to status "Public Archive" on Github. It's still accessible from within the project, so that it could be revived. Please refer to [this list for examples of archived repositories within Eclipse Tractus-X](https://github.com/eclipse-tractusx/?q=&type=archived&language=&sort=).

Additionally the helm charts and container images are still available and no information about the deprecation is passed to the user.

### Criteria for Deprecation

Committers consider the following criteria to propose deprecation of a repository:

1. The repository does not comply with the Eclipse Tractus-X Releases Guidelines (TRG's) and/or the guidelines set by the Eclipse Foundation (i.e. Security, Intellectual Property, etc.)

In case of repositories belonging to a [Product](https://eclipse-tractusx.github.io/community/products):

<!-- markdownlint-disable MD029 because it should start with 2.-->
2. The product of the repository has not been released within the _past year's major release cycle_**\***.
3. The standards used by the product have been changed in a major version within the _past year's major release cycle_**\***.
<!-- markdownlint-enable MD029 -->

**\*** The _past year's major release cycle_ is the time span between the breaking change releases YY.06 e.g., 24.05 till 24.05.

### Deprecation Process

To ensure the communities awareness the following process is used at least per major release planning:

```mermaid
graph TD
A[1: Prepare list of unmaintained repositories] --> B[2-1: Draft critical issue for committer meeting]
B --> C[2-2: Inform Eclipse Tractus-X community]
C --> D[3: 2 week period: Comment on issue for criteria discussion]
D --> E[4-1: Committer meeting: Discuss list]
E --> F[4-2: Send email to mailing list]
F --> G{5: Action taken within 4 weeks?}
G -->|No| H[End of Release: Deprecate repository]
G -->|Yes| I[Plan Update of repository]
H --> J[Create issue in .eclipsefdn]
```

1. The committers prepare a list of unmaintained repositories.
2. The committers inform the Eclipse Tractus-X community via the [dev mailing list](https://eclipse-tractusx.github.io/docs/oss/how-to-contribute/#dev-mailinglist). This is done by an issue with checkboxes listing all these repositories (find the issue template [below](#issue-template-for-deprecation-list)). Additionally a critical issue is drafted on the [board for the committer meeting](https://github.com/orgs/eclipse-tractusx/projects/61/views/6) in at least 2 full weeks.
3. 2 weeks period: The committers comment the issue regarding which repositories are confronted with the [deprecation criteria](#criteria-for-deprecation).
4. Committer meeting: The committers discuss the list and check the boxes in the issue. As a result, a mail is sent out to the Eclipse Tractus-X mailing list. This list is split into network service products (e.g. Eclipse Tractus-X EDC), use case products (e.g. PURIS) and supporting repositories (e.g. API Hub). See a template below.
5. If no action is taken within additional **4 weeks** the project leads will proceed with the deprecation of the given repositories and communicate accordingly on the dev mailing list.
6. In case the repository got deprecated, and there is again maintenance or develop capacity, the following procedure **MUST** be followed [Repository Reactivation Process](#repository-reactivation-process) by a committer.

### Issue Template for Deprecation List

``` markdown
# Deprecation List

The following repositories fulfill at least **criteria 1** so that deprecation has been proposed with this issue following [TRG 7.09](https://eclipse-tractusx.github.io/docs/release/trg-7/trg-7-09).

Dear @eclipse-tractusx/automotive-tractusx-committers please check the following list and comment which of the repositories shall be marked for deprecation. The list will be discussed as a critical topic in the committer meeting in two weeks.

- [ ] sample repo link 1
- [ ] sample repo link 2
```

### Mail Template for Deprecation

``` markdown
Dear Eclipse Tractus-X Community,

Following repositories are proposed to be subject to deprecation with the upcoming release following [TRG 7.09](https://eclipse-tractusx.github.io/docs/release/trg-7/trg-7-09).

**Network Service Products (CRITICAL)**:
- link to repository 1

**Use Case Products**:
- link to repository 2


**Supporting repository**:
- link to repository 3

**Call to Action**: Please discuss within your company e.g., with your Catena-X responsibles, whether you run into an issue. We highly encourage the companies to at least find resources for the **Network Service Products** to maintain an open source data space.
```

## Reactivation Guidelines

Your repository got deprecated? No worries, follow the following steps to get it back on its feet:

### Repository Reactivation Criteria

In case a repository you are maintaining or want to maintain got deprecated after all the [Criteria for Deprecation](#criteria-for-deprecation) are fulfilled, and the [Deprecation Process](#deprecation-process) finalized, the following criteria **MUST** be fulfilled to reactivate your repository:

1. The committer and requestor has capacity to resolve the security vulnerabilities and assure that the repository will comply and keep up to date with the TRGs.
2. Capacity to maintain the repository is available.
3. A solid reason is provided to reactivate the repository.

### Repository Reactivation Process

```mermaid
flowchart TD
A[1: Requestor creates an issue in the sig-infra repository following a template] --> B[2: Requestors send an email to the tractusx-dev mailing list informing of responsible committer, issue id and reason for reactivation]
B --> C[3: Requestor informs the community in the office hour]
C --> D{Reactivation Criteria Fulfilled?}
D --> |NO| E[4: Project Lead closes the issue in Github]
D --> |YES| F[4: Project Lead opens issue in .eclipsefdn]
F --> G[5:Once reactivated, the Project Lead announces it in the mailing list]
G --> H[6: The Issue in sig-infra is closed]
```

1. The requestor **MUST** create an issue in the [sig-infra](https://github.com/eclipse-tractusx/sig-infra) repository following the template [below](#issue-template-for-reactivation).
2. The requestor **MUST** announce the repository reactivation proposal on the [tractusx-dev](https://accounts.eclipse.org/mailing-list/tractusx-dev) mailing list mentioning the `issue id`, the `reason/motivation`. A `responsible committer` **MUST** be announced.
3. The requestor **MUST** inform the community within the Office Hour about the petition.
4. A project lead will open a issue at the [.eclipsefdn](https://github.com/eclipse-tractusx/.eclipsefdn) requesting the reactivation of the repository.
5. Once the repository is reactivated, the project lead sends a mail to the [tractusx-dev](https://accounts.eclipse.org/mailing-list/tractusx-dev) mailing list announcing the reactivation.
6. The project lead closes the issue in [sig-infra](https://github.com/eclipse-tractusx/sig-infra).

### Issue Template for Reactivation

```markdown
Title: Request for repository [<REPOSITORY_NAME>] reactivation
Content:
## Context

**Requester**: @a-contributor-or-committer-github-user
**Responsible Committer**: @a-committer-github-user

**Respository to reactivate**: <repository_link>

### Reason
<!-- Add here your reason, please include the motivation and details to ease the project leads/committer review -->


## Acknowledgments

- [ ] I have checked and verified that the repository fulfills the [Reactivation Guidelines](https://eclipse-tractusx.github.io/docs/release/trg-7/trg-7-09)

- [ ] I have emailed the mailing list announcing the committer assigned to the repository, providing a reasonable motivation for the repository reactivation.

- [ ] I have the consent of the committer, which will be responsible for making sure the latest [TRGs](https://eclipse-tractusx.github.io/docs/release) are followed.

- [ ] The committer will monitor and take care that the open security issues of the reactivated repository. Following the [Security TRGs](https://eclipse-tractusx.github.io/docs/release/trg-8/trg-8-01)

```

0 comments on commit aae9417

Please sign in to comment.