Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
A
ADIOS2
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Podhorszki, Norbert
ADIOS2
Commits
cb180346
Commit
cb180346
authored
7 years ago
by
Atkins, Charles Vernon
Browse files
Options
Downloads
Patches
Plain Diff
Update docs for new setup process
parent
18d3910d
No related branches found
No related tags found
1 merge request
!40
Tinker with setup script
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
Contributing.md
+22
-25
22 additions, 25 deletions
Contributing.md
with
22 additions
and
25 deletions
Contributing.md
+
22
−
25
View file @
cb180346
...
...
@@ -12,41 +12,38 @@ To setup your local repository for development:
1.
Fork the main repository on GitHub:
1.
Navigate to https://github.com/ornladios/adios2 in your browser.
1.
Click the
`[Fork]`
button in the upper right-hand side of the page.
2.
Clone your fork to your local machine:
```
[chuck@hal9000 Code]$ mkdir adios
[chuck@hal9000 Code]$ cd adios
#
# If you don't have ssh access setup to your github repository then you will
# need to clone your fork from
# https://github.com/<your-GitHub-username-here>/adios2.git
# instead of
# git@github.com:<your-GitHub-username-here>/adios2.git
#
[chuck@hal9000 adios]$ git clone git@github.com:<your-GitHub-username-here>/adios2.git source
2.
Clone the upstream repository to your local machine:
```
$ mkdir adios
$ cd adios
$ git clone https://github.com/ornladios/adios2.git source
Cloning into 'source'...
remote: Counting objects: 4
535
, done.
remote: Compressing objects: 100% (
223/223
), done.
remote: Total 4
535
(delta
64
), reused 0 (delta 0), pack-reused 4
301
Receiving objects: 100% (4
535/4535
), 1.2
7
MiB |
0 bytes
/s, done.
Resolving deltas: 100% (2
607/2607
), done.
remote: Counting objects: 4
632
, done.
remote: Compressing objects: 100% (
80/80
), done.
remote: Total 4
632
(delta
33
), reused 0 (delta 0), pack-reused 4
549
Receiving objects: 100% (4
632/4632
), 1.2
3
MiB |
224.00 KiB
/s, done.
Resolving deltas: 100% (2
738/2738
), done.
Checking connectivity... done.
[chuck.atkins@hal9000 adios]
$
$
```
3.
Run the
`scripts/development/setup.sh`
script. The script will configure an
`upstream`
remote and link your local master branch to the upstream.
```
[chuck.atkins@hal9000 adios]
$ cd source/
$ ./scripts/developer/setup.sh
Checking
GitHub username
...
Using GitHub user <your-GitHub-username-here>
Adding upstream remote...
$ cd source/
$ ./scripts/developer/setup.sh
Enter your
GitHub username
: chuckatkins
Setup SSH push access? [(y)/n] y
Re-configuring local master branch to use upstream
Fetching origin
remote: Counting objects: 6, done.
remote: Compressing objects: 100% (6/6), done.
remote: Total 6 (delta 0), reused 0 (delta 0), pack-reused 0
Unpacking objects: 100% (6/6), done.
From https://github.com/chuckatkins/adios2
Fetching upstream
From https://github.com/ornladios/adios2
* [new branch] master -> upstream/master
* [new branch] dashboard -> upstream/dashboard
* [new branch] hooks -> upstream/hooks
* [new branch] master -> upstream/master
Re-configuring local master branch to use upstream
Setting up git aliases...
Setting up git hooks...
$
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment