Skip to content

Pastey crate requirement#33

Open
bharatGoswami8 wants to merge 2 commits into
eclipse-score:mainfrom
bharatGoswami8:pastey_requirement
Open

Pastey crate requirement#33
bharatGoswami8 wants to merge 2 commits into
eclipse-score:mainfrom
bharatGoswami8:pastey_requirement

Conversation

@bharatGoswami8
Copy link
Copy Markdown
Contributor

  • System requirement
  • Feature requirement
  • Component requirement

@bharatGoswami8 bharatGoswami8 force-pushed the pastey_requirement branch 3 times, most recently from 94e6dbf to de54bc5 Compare May 11, 2026 04:53
@bharatGoswami8 bharatGoswami8 self-assigned this May 11, 2026
* System requirement
* Feature requirement
* Component requirement
@bharatGoswami8 bharatGoswami8 marked this pull request as ready for review May 11, 2026 05:52
Copy link
Copy Markdown
Contributor

@aschemmel-tech aschemmel-tech left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

see inline comments

import ScoreReq

ScoreReq.AssumedSystemReq ASR_PASTEY_001 {
description = "The Rust compiler shall support procedural macro invocation that transforms token streams at compile time, including accepting raw identifiers (r#ident) and #[doc = ...] attribute tokens emitted from a procedural macro as syntactically valid output"
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Wrong understanding of assumed System Requirements: it does not describe the assumption of what the system (here the Rust compiler, which is not part of our SW platform) would provide for your component/crate but what you think the system expects from "paste! macro". These would be "Assumptions of Use" and I think be documented in the feature requirements trlc. And it should be on a level like https://eclipse-score.github.io/score/main/requirements/stakeholder/index.html#stkh_req__dev_experience__prog_languages (from user of the platform perspective).

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I have updated system requirement in term of Rust toolchain which is kind of external system.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

need to discuss this

Copy link
Copy Markdown
Contributor

@aschemmel-tech aschemmel-tech May 12, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Agreed in meeting to replace these by a assumed system requirment like https://eclipse-score.github.io/score/main/requirements/stakeholder/index.html#stkh_req__dev_experience__prog_languages and to create an AoU on feature level stating that pastey crate expects "qualified Rust compiler including macro infrastructure". AoU in trlc: see https://github.com/eclipse-score/communication/blob/main/score/mw/com/dependability/safety_analysis/aou.trlc

Comment thread docs/pastey/docs/requirement/assumed_system_requirements.trlc
Comment thread docs/pastey/docs/requirement/feature_requirements.trlc Outdated
Comment thread docs/pastey/docs/requirement/component_requirements.trlc
Comment thread docs/pastey/docs/requirement/component_requirements.trlc Outdated
Comment thread docs/pastey/docs/requirement/component_requirements.trlc Outdated
Comment thread docs/pastey/docs/requirement/component_requirements.trlc Outdated
Comment thread docs/pastey/docs/requirement/component_requirements.trlc Outdated
Comment thread docs/pastey/docs/requirement/component_requirements.trlc
Copy link
Copy Markdown
Contributor

@aschemmel-tech aschemmel-tech left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

see still open and new inline comments

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Discussed in meeting: our preferred solution was to have one feature collecting several crates (components) - which would mean that the feature level requirements could be even more abstract. Folder structure can be kept.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants