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

Add supplemental file #12

Merged
merged 2 commits into from
Nov 15, 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
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.

Loading