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

Document release procedure #67

Open
wants to merge 5 commits into
base: refactoring
Choose a base branch
from
Open

Document release procedure #67

wants to merge 5 commits into from

Conversation

xendk
Copy link
Contributor

@xendk xendk commented Nov 28, 2024

Add release process documentation.

@xendk xendk requested a review from a team November 28, 2024 08:08
Copy link
Contributor

@kasperg kasperg left a comment

Choose a reason for hiding this comment

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

👍 Nice work getting this properly into the project codebase.

I have some suggestions for you to consider before you merge.

Copy link
Contributor

Choose a reason for hiding this comment

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

Please reconsider this restructure.

As far as I can tell this PR injects a new subdirectory General into /docs. I wonder why that is necessary. I do not see it mentioned in commit comments or in the PR. As I see it the current /docs structure is sufficient.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Because each markdown file in the docs directory shows up in the header. So by now we'd have something like:

image

As I believe that there'll be more cross repo documentation added over time the header will get cramped. Besides I don't think that having these kind of things top-level makes sense from a information structure viewpoint.

I did play a bit with mkdocs settings and liked turning off the top-level tabs, but that was too major a change for me to dare suggesting.

Comment on lines +9 to +20
## Adding documentation

### General documentation

Documentation that isn't specific to any particular repository should
be placed in this [general
section](https://github.com/danskernesdigitalebibliotek/dpl-docs/tree/main/docs/General/).

### External documentation

Any repository you want to add to the documentation site, must have a `docs/`
folder in the project root on github and relevant markdown must be moved inside.
Copy link
Contributor

Choose a reason for hiding this comment

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

With this info in mind I suggest reverting docs/General/documentation-site.md to docs/README.md. Having this documented within docs/General seems to defeat the purpose of the instructions.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Eh, why? The purpose of the instructions is to tell anyone interested in adding to the documentation how to do it. Why should this be the very first thing people see when visiting? I'd hope that most visitors is visiting to read documentation, not just looking for how to add to it.

Comment on lines 10 to 11
# Design system
https://github.com/danskernesdigitalebibliotek/dpl-design-system
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
# Design system
https://github.com/danskernesdigitalebibliotek/dpl-design-system
## [Design system](https://github.com/danskernesdigitalebibliotek/dpl-design-system)

Comment on lines 33 to 34
You might not have the required permissions for this step, in that
case, continue to releasing DPL React and return to this later.
Copy link
Contributor

Choose a reason for hiding this comment

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

Consider adding a link to https://danskernesdigitalebibliotek.github.io/dpl-docs/DPL-React/#requirements which describes how to authenticate against the GitHub NPM repository.

Currently the wording is not totally clear here. You might read it specific GitHub permissions might be needed or the like but it is really something anyone working with DPL React would be able to do.

publishing the release.


# Update DPL React for local development
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
# Update DPL React for local development
## Update DPL React for local development

Comment on lines 51 to 53
# DPL React

https://github.com/danskernesdigitalebibliotek/dpl-react
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
# DPL React
https://github.com/danskernesdigitalebibliotek/dpl-react
## [DPL React](https://github.com/danskernesdigitalebibliotek/dpl-react)

release](https://github.com/danskernesdigitalebibliotek/dpl-react/releases/new)
in the same way as with the Design system.

# DPL CMS
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
# DPL CMS
## [DPL CMS](https://github.com/danskernesdigitalebibliotek/dpl-cms)

release](https://github.com/danskernesdigitalebibliotek/dpl-cms/releases/new)
in the same way as with the Design system.

# Deployment to staging
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
# Deployment to staging
## Deployment to staging

runbook](../../DPL-Platform/runbooks/how-release-a-new-version-for-approval-testing/).
This will require access to Azure in order to run the deployment.

# JIRA and communication
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
# JIRA and communication
## JIRA and communication

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Don't agree with the last two, deployment and kommunication isn't part of DPL CMS.

Maybe there should be two H1s: "Creating the release" and "Deployment and announcement", where we move the current headlines in under.

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