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

fink button plugin #88

Merged
merged 5 commits into from
Mar 13, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
52 changes: 25 additions & 27 deletions .github/labeler.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,57 +2,55 @@

# Add 'config-change' label to any change to default config files
config-change:
- "skyportal/config.yaml.defaults"
- "skyportal/test_config.yaml"
- "icare.yaml.defaults"
- changed-files:
- any-glob-to-any-file: ["skyportal/config.yaml.defaults", "skyportal/test_config.yaml", "icare.yaml.defaults"]

# Add 'demo-data' label to any change to provided demo data
demo-data:
- extensions/skyportal/data/**/*
- changed-files:
- any-glob-to-any-file: "extensions/skyportal/data/**/*"

# Add 'dependencies' label to any change to dependencies
dependencies:
- "skyportal/requirements.txt"
- "skyportal/requirements.docs.txt"
- "skyportal/package.json"
- ".requirements/ext.txt"
- changed-files:
- any-glob-to-any-file: ["skyportal/requirements.txt", "skyportal/requirements.docs.txt", "skyportal/package.json", ".requirements/ext.txt"]

# Add 'documentation' label to any change to the doc directory
documentation:
- skyportal/doc/**/*
- extensions/skyportal/doc/**/*
- changed-files:
- any-glob-to-any-file: ["skyportal/doc/**/*", "extensions/skyportal/doc/**/*"]

# Add 'formatting-and-linting' label to any changes to the formatting and
# linting checks, and the pre-commit hooks that run them
formatting-and-linting:
- "skyportal/.eslintignore"
- "skyportal/.eslintrc.yaml"
- "skyportal/.flake8"
- "skyportal/.git-pre-commit"
- "skyportal/.pep8speaks.yml"
- "skyportal/.pre-commit-config.yaml"
- ".pre-commit-config.yaml"
- changed-files:
- any-glob-to-any-file: ["skyportal/.eslintignore", "skyportal/.eslintrc.yaml", "skyportal/.flake8", "skyportal/.git-pre-commit", "skyportal/.pep8speaks.yml", "skyportal/.pre-commit-config.yaml", ".pre-commit-config.yaml"]

# Add 'migration' label to any change within the 'alembic' directory
migration:
- "skyportal/alembic/versions/*"
- changed-files:
- any-glob-to-any-file: "skyportal/alembic/versions/*"

# Add 'needs-migration?' label to any change to models.py without changes to
# the Alembic versions
needs-migration?:
- any: ["skyportal/skyportal/models.py", "skyportal/skyportal/models/*", "extensions/skyportal/skyportal/models.py", "extensions/skyportal/skyportal/models/*"]
all: ["!skyportal/alembic/versions/*"]
- any: ["skyportal/baselayer/app/models.py", "skyportal/baselayer/app/models/*", "extensions/skyportal/baselayer/app/models.py", "extensions/skyportal/baselayer/app/models/*"]
all: ["!skyportal/alembic/versions/*"]
- any: ["requirements.txt"]
all: ["!skyportal/alembic/versions/*"]
- any:
- changed-files:
- any-glob-to-any-file: ["skyportal/skyportal/models.py", "skyportal/skyportal/models/*", "extensions/skyportal/skyportal/models.py", "extensions/skyportal/skyportal/models/*"]
- all-globs-to-all-files: ["!skyportal/alembic/versions/*"]
- changed-files:
- any-glob-to-any-file: ["skyportal/baselayer/app/models.py", "skyportal/baselayer/app/models/*", "extensions/skyportal/baselayer/app/models.py", "extensions/skyportal/baselayer/app/models/*"]
- all-globs-to-all-files: ["!skyportal/alembic/versions/*"]
- changed-files:
- any-glob-to-any-file: ["requirements.txt"]
- all-globs-to-all-files: ["!skyportal/alembic/versions/*"]

# Add 'workflows' label to any changes to GA workflows (.github folder)
workflows:
- .github/**/*
- any-glob-to-any-file: ".github/**/*"

skyportal_updates:
- skyportal/**/*
- any-glob-to-any-file: "skyportal/**/*"

skyportal_fink_client_updates:
- extensions/skyportal/services/fink/skyportal-fink-client/**/*
- any-glob-to-any-file: "extensions/skyportal/services/fink/skyportal-fink-client/**/*"
2 changes: 1 addition & 1 deletion .github/workflows/add_labels.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:
runs-on: ubuntu-latest
# Add labels based on contents of .github/labeler.yml
steps:
- uses: actions/labeler@main
- uses: actions/labeler@v5
with:
repo-token: "${{ secrets.GITHUB_TOKEN }}"
sync-labels: true
10 changes: 0 additions & 10 deletions extensions/skyportal/config.yaml.defaults
Original file line number Diff line number Diff line change
Expand Up @@ -518,16 +518,6 @@ app:
sm: [3, 2, 3, 3]
xs: [0, 6, 4, 3]

NewSource:
resizeable: true
minW: 3
layouts:
xlg: [11, 5, 5, 3]
lg: [8, 5, 4, 3]
md: [6, 6, 4, 3]
sm: [3, 9, 3, 3]
xs: [0, 14, 4, 3]

database:
database: skyportal
host: localhost
Expand Down
Loading
Loading