Skip to content

Commit

Permalink
Merge pull request #9 from hitobito/feature/swb-4-create-wagon
Browse files Browse the repository at this point in the history
Create SBW Wagon
  • Loading branch information
kronn authored Feb 7, 2025
2 parents 03ec559 + c9d3f4c commit d865458
Show file tree
Hide file tree
Showing 53 changed files with 1,884 additions and 2 deletions.
30 changes: 30 additions & 0 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: 'Lint and test'

on:
# The nightly obuild allows us to notice if changes to the core
# break the wagon.
schedule:
- cron: '38 3 * * *'
push:
paths-ignore:
- 'doc/**'
- '**.md'
pull_request:
paths-ignore:
- 'doc/**'
- '**.md'
workflow_dispatch: # Allow triggering manually
inputs:
core_ref:
description: Use a specific version of the core for the workflow run. Defaults to master.
type: string
default: 'master'
jobs:
wagon_tests:
uses: hitobito/hitobito/.github/workflows/wagon-tests.yml@master
with:
wagon_repository: ${{ github.event.repository.name }}
core_ref: ${{ inputs.core_ref }}
secrets:
HEARTBEAT_URL: ${{ secrets.HEARTBEAT_URL }}
HEARTBEAT_TOKEN: ${{ secrets.HEARTBEAT_TOKEN }}
28 changes: 28 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
.bundle/
log/*.log
tmp/
pkg/
doc/rdoc
db/*.sqlite3
zeus.json
.sass-cache
.project
.envrc
*.iml
.generators
.idea
.rakeTasks

# ignore Gemfile.lock for wagons
Gemfile.lock

# reports
spec/coverage
spec/reports
brakeman-output.tabs
rubocop-results.xml
coverage

.tool-versions
.pry_history
.envrc
1 change: 1 addition & 0 deletions .rspec
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
--color
11 changes: 11 additions & 0 deletions .rubocop.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
inherit_from:
- ../hitobito/.rubocop.yml

AllCops:
Exclude:
- Rakefile
- Gemfile
- db/**/*
- config/**/*
- bin/**/*
- tmp/**/*
1 change: 1 addition & 0 deletions .ruby-version
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
3.2.6
13 changes: 13 additions & 0 deletions AUTHORS
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
Hitobito Swb is created by the following people:

Code:
Pascal Zumkehr, Puzzle ITC
Andreas Maierhofer, Puzzle ITC
Matthias Viehweger, Puzzle ITC
Nils Rauch, Puzzle ITC
Niklas Jäggi, Puzzle ITC
Daniel Illi, Puzzle ITC

Design & Style:
Roland Studer
Pierre Fritsch
15 changes: 15 additions & 0 deletions COPYING
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
HitobitoSwb - Hitobito organization structure and specific features.
Copyright (C) 2025 Swiss Badminton

This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as
published by the Free Software Foundation, either version 3 of the
License, or (at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Affero General Public License for more details.

You should have received a copy of the GNU Affero General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
Loading

0 comments on commit d865458

Please sign in to comment.