-
Notifications
You must be signed in to change notification settings - Fork 0
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
GRIDEDIT-1421: Improve_documentation #35
Open
lucacarniato
wants to merge
1
commit into
main
Choose a base branch
from
feature/GRIDEDIT-1421_improve_documentation
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,12 +5,31 @@ This repository contains bash and python scripts for the the release automation | |
## Usage | ||
|
||
It is assumed below that the release script is run from the root directory of the repository. | ||
It is also assumed that Miniconda or Anaconda is installed on your Linux distribution. | ||
|
||
To display the usage, use | ||
|
||
```bash | ||
./scripts/automation/release.sh --help | ||
``` | ||
The file `./scripts/globals.sh` contains global variables used across all scripts. To work with test branches | ||
and simulate a release, set the `repo_owner` and `forked_repo_suffix` variables as follows: | ||
|
||
```bash | ||
declare -g repo_owner="Deltares-research" | ||
declare -g forked_repo_suffix="Test" | ||
``` | ||
To work with production branches, set the `repo_owner` and `forked_repo_suffix` variables as follows: | ||
```bash | ||
declare -g repo_owner="Deltares" | ||
declare -g forked_repo_suffix="" | ||
``` | ||
The scripts clone Git repositories using SSH. To use SSH with `git clone`, you must set up SSH keys in your | ||
GitHub account under **Settings** > **SSH and GPG keys**. | ||
Additionally, Single Sign-On (SSO) must be configured for the key to authorize the Deltares and Deltares-Research organizations. | ||
|
||
GitHub tokens can be managed under **GitHub account** > **Developer settings** > **Personal access tokens** (classic). When generating a new token, ensure that SSO is configured to authorize Deltares and Deltares-Research. | ||
Comment on lines
+27
to
+31
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This can be moved to dedicated section, "Requirements". The section should address 3 things:
|
||
|
||
|
||
Usage: | ||
|
||
|
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The forked repositories must be removed, particularly private ones, and so are the associated TeamCity sub-projects. They clutter the parent project. It does not make sense to leave there forever. They were there for development purposes.
Also notice that that the jobs that generate nupkgs from the forks, have the exact same name prefixes as the real nupkgs, and end up in the package repository. That's bad. They are visible in visual studio through the nuget manager.