Skip to content
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

feat(ocs): add OCS extractor and workflow #9832

Merged
merged 1 commit into from
Aug 7, 2024

Conversation

miaulalala
Copy link
Contributor

Needed for #9749 and #9672

@miaulalala miaulalala self-assigned this Jul 10, 2024
@miaulalala miaulalala force-pushed the enh/add-openapi-extractor-and-workflow branch from 935052b to 0eea010 Compare July 10, 2024 14:44
@miaulalala miaulalala changed the title enh(ocs): add OCS extractor and workflow feat(ocs): add OCS extractor and workflow Jul 10, 2024
@miaulalala miaulalala added github_actions Pull requests that update Github_actions code and removed blocked labels Jul 23, 2024
@miaulalala miaulalala force-pushed the enh/add-openapi-extractor-and-workflow branch 2 times, most recently from ffdbd82 to 402f4ef Compare July 23, 2024 11:50
composer.json Outdated Show resolved Hide resolved
Copy link
Member

@ChristophWurst ChristophWurst left a comment

Choose a reason for hiding this comment

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

  1. Commit check in the workflow is not necessary. We don't want to vendor the openapi output in git.
  2. Adjust

    mail/krankerl.toml

    Lines 5 to 7 in b9bdff0

    "composer install --no-dev -o",
    "npm install --deps",
    "npm run build",
    to generate the opnapi files before packaging.
  3. The new vendor bin should be monitored by renovate bot. Add it to https://github.com/nextcloud/mail/blob/b9bdff0b88baf3b8f211059a07a129b4fd3ca8cc/renovate.json.

@provokateurin
Copy link
Member

The check is necessary to detect errors, even if you don't want to commit the result. Otherwise you'll only learn of the problems once you try to do a release...

@ChristophWurst
Copy link
Member

@provokateurin I mean "Check openapi*.json and typescript changes" to go. "Regenerate OpenAPI" has to stay of course.

Copy link
Member

@ChristophWurst ChristophWurst left a comment

Choose a reason for hiding this comment

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

The new vendor bin should be monitored by renovate bot. Add it to https://github.com/nextcloud/mail/blob/b9bdff0b88baf3b8f211059a07a129b4fd3ca8cc/renovate.json. not necessary

@miaulalala miaulalala force-pushed the enh/add-openapi-extractor-and-workflow branch from ec0f3ea to bf54fb1 Compare August 6, 2024 12:34
@ChristophWurst
Copy link
Member

Squash harder

@miaulalala miaulalala force-pushed the enh/add-openapi-extractor-and-workflow branch from bf54fb1 to bebec3e Compare August 6, 2024 13:05
@miaulalala
Copy link
Contributor Author

Squash harder

image

Copy link
Member

@ChristophWurst ChristophWurst left a comment

Choose a reason for hiding this comment

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

We should only need nextcloud/openapi-extractor in the bin, not the global composer.* files

composer.json Outdated Show resolved Hide resolved
Signed-off-by: Anna Larch <anna@nextcloud.com>
@miaulalala miaulalala force-pushed the enh/add-openapi-extractor-and-workflow branch from e410f33 to e854dc7 Compare August 7, 2024 13:41
@miaulalala miaulalala merged commit eda7a58 into main Aug 7, 2024
28 of 29 checks passed
@miaulalala miaulalala deleted the enh/add-openapi-extractor-and-workflow branch August 7, 2024 13:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
3. to review 4. to release github_actions Pull requests that update Github_actions code
Projects
Status: ☑️ Done
Development

Successfully merging this pull request may close these issues.

None yet

3 participants