Skip to content

Commit

Permalink
Add supplemental file (#12)
Browse files Browse the repository at this point in the history
  • Loading branch information
joecorall authored Nov 15, 2024
1 parent 689272d commit 965bd72
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 7 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/lint-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
- uses: actions/checkout@v4

- name: check valid sh
run: shellcheck tests/*.sh
run: shellcheck **/*.sh

- uses: actions/setup-go@v4

Expand All @@ -24,9 +24,9 @@ jobs:
run: ./tests/starter-site.sh

- name: golangci-lint
uses: golangci/golangci-lint-action@v3
uses: golangci/golangci-lint-action@v6
with:
version: v1.59.1
version: latest

- name: Run tests
run: go test -v ./... && git diff fixtures
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ Generate an Open API spec based on your Islandora data model
```
go-islandora generate node-structs \
--node-cex-yaml=path/to/drupal/config/sync/node.type.islandora_object.yml \
--output=api.yml
--output=api.yaml
go-islandora generate sheets-structs --output=workbench.yml
go-islandora generate sheets-structs --output=workbench.yaml
```
5 changes: 3 additions & 2 deletions cmd/sheetsStructs.go
Original file line number Diff line number Diff line change
Expand Up @@ -114,8 +114,9 @@ func sheetsFields() []CsvColumn {
"Catalog or ArchivesSpace URL": "field_identifier.attr0=uri",
"Call Number": "field_identifier.attr0=call-number",
"Report Number (included only on ATLSS and Fritz Lab spreadsheet)": "field_identifier.attr0=report-number",
"Rights Statement": "field_rights",
"Access": "field_access",
"Rights Statement": "field_rights",
"Access": "field_access",
"Supplemental File": "supplemental_file",
}
for column, field := range f {
fields = append(fields, CsvColumn{
Expand Down
1 change: 1 addition & 0 deletions workbench/workbench.gen.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 965bd72

Please sign in to comment.