-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
17 changed files
with
324 additions
and
44 deletions.
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 |
---|---|---|
@@ -0,0 +1,8 @@ | ||
version: 2 | ||
updates: | ||
- package-ecosystem: "github-actions" | ||
directory: "/" | ||
schedule: | ||
interval: "weekly" | ||
labels: | ||
- "bumpless" |
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 |
---|---|---|
@@ -0,0 +1,16 @@ | ||
name: Tag New Version | ||
|
||
on: | ||
push: | ||
branches: | ||
- main | ||
|
||
jobs: | ||
call-bump-version-workflow: | ||
uses: ASFHyP3/actions/.github/workflows/[email protected] | ||
with: | ||
user: forrest-bot | ||
email: [email protected] | ||
secrets: | ||
USER_TOKEN: ${{ secrets.FORREST_BOT_PAK }} | ||
|
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 |
---|---|---|
@@ -0,0 +1,18 @@ | ||
name: Changelog updated? | ||
|
||
on: | ||
pull_request: | ||
types: | ||
- opened | ||
- labeled | ||
- unlabeled | ||
- synchronize | ||
branches: | ||
- main | ||
- develop | ||
|
||
jobs: | ||
call-changelog-check-workflow: | ||
uses: ASFHyP3/actions/.github/workflows/[email protected] | ||
secrets: | ||
USER_TOKEN: ${{ secrets.GITHUB_TOKEN }} |
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 |
---|---|---|
@@ -0,0 +1,15 @@ | ||
name: Is PR labeled? | ||
|
||
on: | ||
pull_request: | ||
types: | ||
- opened | ||
- labeled | ||
- unlabeled | ||
- synchronize | ||
branches: | ||
- main | ||
|
||
jobs: | ||
call-labeled-pr-check-workflow: | ||
uses: ASFHyP3/actions/.github/workflows/[email protected] |
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 |
---|---|---|
@@ -0,0 +1,16 @@ | ||
name: Checklist comment | ||
|
||
on: | ||
pull_request: | ||
types: | ||
- opened | ||
branches: | ||
- main | ||
|
||
jobs: | ||
call-release-workflow: | ||
uses: ASFHyP3/actions/.github/workflows/[email protected] | ||
permissions: | ||
pull-requests: write | ||
secrets: | ||
USER_TOKEN: ${{ secrets.GITHUB_TOKEN }} |
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 |
---|---|---|
@@ -0,0 +1,17 @@ | ||
name: Create Release | ||
|
||
on: | ||
push: | ||
tags: | ||
- 'v*' | ||
|
||
jobs: | ||
call-release-workflow: | ||
uses: ASFHyP3/actions/.github/workflows/[email protected] | ||
with: | ||
release_prefix: INDEX_SAFE | ||
release_branch: main # Optional; default shown | ||
develop_branch: develop # Optional; default shown | ||
sync_pr_label: forrest-bot # Optional; default shown | ||
secrets: | ||
USER_TOKEN: ${{ secrets.FORREST_BOT_PAK }} |
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 |
---|---|---|
@@ -0,0 +1,32 @@ | ||
name: Static analysis | ||
|
||
on: [pull_request] | ||
|
||
jobs: | ||
call-secrets-analysis-workflow: | ||
# Docs: https://github.com/ASFHyP3/actions | ||
uses: ASFHyP3/actions/.github/workflows/[email protected] | ||
|
||
check-with-black: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: psf/black@stable | ||
with: | ||
options: "--check --diff --color" | ||
src: "." | ||
|
||
check-with-ruff: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- name: Install Python | ||
uses: actions/setup-python@v4 | ||
with: | ||
python-version: "3.11" | ||
- name: Install dependencies | ||
run: | | ||
python -m pip install --upgrade pip | ||
pip install ruff | ||
- name: Run Ruff | ||
run: ruff check --format=github . src/index_safe/*.py |
Empty file.
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 |
---|---|---|
@@ -0,0 +1,19 @@ | ||
# Changelog | ||
|
||
All notable changes to this project will be documented in this file. | ||
|
||
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), | ||
and this project adheres to [PEP 440](https://www.python.org/dev/peps/pep-0440/) | ||
and uses [Semantic Versioning](https://semver.org/spec/v2.0.0.html). | ||
|
||
|
||
## [0.0.1] | ||
|
||
### Added | ||
* Initial version of project (with no changes), to merge a non-zero version into main | ||
|
||
## [0.0.0] | ||
|
||
### Added | ||
* Initial version of project | ||
|
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
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
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 |
---|---|---|
@@ -0,0 +1,25 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0"> | ||
<xsl:template match="/"> | ||
<burst> | ||
<manifest> | ||
<xsl:copy-of select="document(files/@manifest)/*"/> | ||
</manifest> | ||
<metadata> | ||
<xsl:for-each select="/files/file"> | ||
<xsl:variable name="root" select="name(document(@name)/*)"/> | ||
<xsl:element name="{$root}"> | ||
<xsl:attribute name="source_filename"> | ||
<xsl:value-of select="@label"/> | ||
</xsl:attribute> | ||
<xsl:copy-of select="document(@name)/*/adsHeader/swath"/> | ||
<xsl:copy-of select="document(@name)/*/adsHeader/polarisation"/> | ||
<content> | ||
<xsl:copy-of select="document(@name)/*/*"/> | ||
</content> | ||
</xsl:element> | ||
</xsl:for-each> | ||
</metadata> | ||
</burst> | ||
</xsl:template> | ||
</xsl:stylesheet> |
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
Oops, something went wrong.