Skip to content

Commit

Permalink
remove script from here
Browse files Browse the repository at this point in the history
Signed-off-by: vsoch <vsoch@users.noreply.github.com>
  • Loading branch information
vsoch committed Aug 25, 2022
1 parent 96f3b11 commit 5bca82f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 161 deletions.
44 changes: 2 additions & 42 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,45 +12,5 @@ Or in short terms, you can maintain your spack packages in one simple place,
and the automation will support you to update the package versions, test builds
with updates (and nightly) and assist with opening pull requests to spack.

## Setting Up

### Repository

To setup, you can do the following:

1. Create a fork of spack to your organization, only grabbing the develop branch.
2. Clone and create an orphan branch `git switch --orphan main` and then add the content here (the README, and .github workflows0
3. Add your custom packages and repo.yaml under packages.

The above might look like the following:

```bash
$ git clone https://flux-framework/spack /tmp/spack-template

# This is your fork
$ git clone git@github.com:<your-org>/spack spack
$ cd spack

# Create an orphan branch
$ git switch --orphan main

# Copy over the content you need (or you can emulate / update)
cp /tmp/spack-template/README.md ./README.md
cp -R /tmp/spack-template/scripts ./scripts/
cp -R /tmp/spack-template/.github ./.github
cp -R /tmp/spack-template/repo.yaml ./repo.yaml
```

### Content

You'll then want to:

1. Update the repo.yaml with some name for your packages repository (it will be added to spack and needs a different name than builtin).
2. Delete the subdirectories of packages that you don't need (and add your own from spack).
3. Ensure issues are enabled on your fork.
4. Add a label for "spack-updater"
5. Ensure your develop branch is protected (so you cannot delete it).
6. After that, you can push the main branch and make it default so it's the first seen upon visiting your repository (akin to this one!)


To see how it works, check out the [spack updater action](https://github.com/sciworks/spack-updater) and [documentation](https://sciworks.github.io/spack-updater/).
Interested to create your own, or see how it works?
Check out the [spack updater action](https://github.com/sciworks/spack-updater) and ⭐️ [documentation](https://sciworks.github.io/spack-updater/) ⭐️.
119 changes: 0 additions & 119 deletions script/get_releases.py

This file was deleted.

0 comments on commit 5bca82f

Please sign in to comment.