Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
86 commits
Select commit Hold shift + click to select a range
de1a98d
add note about source
valentinedwv May 2, 2022
2904ae0
massive update
fils Jan 16, 2023
98ae2ca
pull request updates
fils Jan 17, 2023
4647c93
file name change to be more logical
fils Jan 17, 2023
9653543
Assign correct variable to progressbar
valentinedwv Jan 18, 2023
ed1d9f0
Add some logging
valentinedwv Jan 18, 2023
9e82130
Log the prune statistics
valentinedwv Jan 18, 2023
c4ed379
Merge pull request #17 from gleanerio/df-dev
fils Jan 21, 2023
bed927c
restore functions used by glcon to execute nabu, and add comment that…
valentinedwv Jan 21, 2023
f7806bd
restore functions used by glcon to execute nabu, and add comment that…
valentinedwv Jan 21, 2023
ce97e03
Merge pull request #19 from gleanerio/dv_glconpatch
fils Jan 23, 2023
31fce7c
update git workflow
valentinedwv Jan 23, 2023
2e3c821
Add assets to Dockerfile and version bump
fils Feb 6, 2023
4537fb1
ssl
valentinedwv Feb 7, 2023
f6de98a
ssl
valentinedwv Feb 7, 2023
eb16922
ssl
valentinedwv Feb 7, 2023
8428244
ssl
valentinedwv Feb 9, 2023
948f258
Merge pull request #22 from gleanerio/dev_ssl
fils Feb 13, 2023
fd12a7e
Merge branch 'dev' into df-dev
fils Feb 13, 2023
4f8503d
release code
fils Feb 14, 2023
de4130c
fix summoned prov conflating names in the release code
fils Feb 14, 2023
1532255
Merge pull request #29 from gleanerio/df-dev
fils Feb 14, 2023
a833409
updates to support quads in the release graph function
fils Mar 2, 2023
faa7a4c
Fixes and documentation for the bulk load to triplestore.
fils Mar 3, 2023
d96ace0
fix stupid bug where I didn't calculate the channel length correct.
fils Mar 13, 2023
b68225c
Merge pull request #32 from gleanerio/df-dev
fils Mar 16, 2023
77d46ba
update to the graph URN ARD
fils Apr 21, 2023
5e61bfe
Merge branch 'dev' of https://github.com/gleanerio/nabu into dv-dev_g…
valentinedwv May 26, 2023
d8948dc
add initLogging to the methods called by glcon.
valentinedwv May 26, 2023
5ace637
add initLogging to the methods called by glcon.
valentinedwv May 26, 2023
691df32
Restructure the load function to be exported and rename it BulkLoad.
fils Jun 11, 2023
4251c4d
Merge branch 'dev' into df-dev
fils Jun 21, 2023
cb4ffc2
move objectlist which lists s3 from prune to common
valentinedwv Jul 6, 2023
98a444a
move objectlist which lists s3 from prune to objects
valentinedwv Jul 6, 2023
6f70c4c
Merge pull request #40 from gleanerio/dv-dev_glcon
valentinedwv Jul 6, 2023
b90b405
dockerize
valentinedwv Jul 6, 2023
0cedff8
dockerize
valentinedwv Jul 6, 2023
317c017
dockerize
valentinedwv Jul 6, 2023
b56f283
dockerize
valentinedwv Jul 6, 2023
51a37c5
dockerize
valentinedwv Jul 8, 2023
e670dff
dockerize add version to build
valentinedwv Jul 9, 2023
ba38618
add schema.org assests on docker build
valentinedwv Jul 9, 2023
e8c838c
fix multiplatform
valentinedwv Jul 9, 2023
1ca81ab
fix multiplatform
valentinedwv Jul 9, 2023
31d4e2d
fix multiplatform
valentinedwv Jul 9, 2023
aeb1dd9
fix multiplatform
valentinedwv Jul 9, 2023
3b3b89f
fix multiplatform
valentinedwv Jul 9, 2023
6979443
fix multiplatform
valentinedwv Jul 9, 2023
95f7ffb
fix multiplatform
valentinedwv Jul 9, 2023
374a221
Merge pull request #39 from gleanerio/dev_38_releasenaming
fils Jul 13, 2023
fcd142f
Merge pull request #41 from gleanerio/dev_docker
fils Jul 13, 2023
f930669
simple workflow diagram to help resolve prun and prov approaches
fils Jul 13, 2023
6db537e
Merge branch 'dev' into df-dev
fils Jul 13, 2023
58b7c6a
#42 adding a defer
valentinedwv Jul 14, 2023
749f4fe
Merge pull request #43 from gleanerio/42_dv_defer
fils Jul 19, 2023
c67e738
Merge branch 'dev' into df-dev
fils Jul 26, 2023
f858909
minio updates to support GCP
fils Aug 10, 2023
a602b30
adr update
fils Aug 23, 2023
5da6856
adr update to fix complex wording
fils Aug 23, 2023
2b4b1bb
Added in CLEAR and DRAIN functions to help with the flow of PROV grap…
fils Aug 25, 2023
7a1544b
update to add in new endpoints node to replace the sparql node. Also…
fils Aug 29, 2023
00f75f5
Moved to a new version of the config file, updated in conf and also c…
fils Aug 30, 2023
c072786
update urn pattern and alter the manner in which the graph listing is…
fils Aug 31, 2023
998ccc7
add more detailed logging of possible errors.
valentinedwv Sep 1, 2023
682c4f4
Aligning urn.go to the 0001-URN-decision.md guidance
fils Sep 1, 2023
adef72e
fix broken orgs urn generation
valentinedwv Sep 1, 2023
feb0664
Merge branch '35_dev_releasefailing' into dev_eco
valentinedwv Sep 1, 2023
9d9bcf0
MakeURNPrefix also needed the fix for the unique org URN
fils Sep 1, 2023
6a4f036
Merge pull request #49 from gleanerio/df-dev
fils Sep 1, 2023
5d2a871
Merge branch 'dev' of https://github.com/gleanerio/nabu into 35_dev_r…
valentinedwv Sep 1, 2023
0958202
#52 if it's not there, add it.
valentinedwv Sep 30, 2023
a3ed339
Merge branch '35_dev_releasefailing' of https://github.com/gleanerio/…
valentinedwv Sep 30, 2023
76fe100
#52 if it's not there, add it.
valentinedwv Sep 30, 2023
4f3bc59
#52 if it's not there, add it.
valentinedwv Oct 5, 2023
59c259b
updates to function.go to work with Oxigraph
fils Dec 4, 2023
98053e1
Merge branch 'refs/heads/dev' into df-dev
fils Jun 27, 2024
22099ff
Enhance config loading and data processing
fils Sep 23, 2024
c897b6f
Refactor logging and enhance RDF metadata generation
fils Nov 15, 2024
e34ad75
Add organization and named graph handling in PipeCopy
fils Nov 15, 2024
d46cf0a
Merge branch '35_dev_releasefailing' of https://github.com/gleanerio/…
valentinedwv Nov 15, 2024
d9538ed
Merge branch 'df-dev' of https://github.com/gleanerio/nabu into dev_eco
valentinedwv Nov 15, 2024
f856c42
merge prs
valentinedwv Nov 15, 2024
c077709
add checks for utf8, and check to the a missing implementation_networ…
valentinedwv Aug 3, 2025
bc03a32
Merge branch 'fix/utf8_release' into dev_eco
valentinedwv Aug 3, 2025
65a2d6a
add checks for utf8, and check to the a missing implementation_networ…
valentinedwv Aug 3, 2025
cbd5214
update workflow
valentinedwv Aug 4, 2025
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
180 changes: 180 additions & 0 deletions .github/workflows/docker.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,180 @@
name: Dockerize Nabu
# need to look at this to do it right
# https://namiops.medium.com/golang-multi-arch-docker-image-with-github-action-b59a62c8d2bd
on:
push:
branches:
- master
- dev
- dev_eco
# tags:
# - v3.*
release:
types: [published]

# https://github.com/marketplace/actions/publish-docker
# https://github.com/docker/build-push-action
env:
REGISTRY_IMAGE: nsfearthcube/nabu

jobs:
build:
name: Docker nabu
runs-on: ubuntu-latest

strategy:
matrix:
include:
- goarch: amd64
goos: "linux"
platform: linux/amd64
- goarch: arm64
goos: "linux"
platform: linux/arm64

# above is explict build lists, otherwise we get amd64 on linux/arm as an option

# build and publish in parallel: linux/amd64
#goos: [linux, windows, darwin]
#goarch: [amd64,arm64]
# goos: [linux]
# goarch: [amd64, arm64]
# platform: [linux/amd64,linux/arm64]
# exclude:
# - goarch: "386"
# goos: darwin
steps:
- name: Install Go
uses: actions/setup-go@v5
- name: checkout code
uses: actions/checkout@v4
- name: donwload schema
run: curl https://schema.org/version/latest/schemaorg-current-https.jsonld --output assets/schemaorg-current-https.jsonld
- name: donwload schema
run: curl https://schema.org/version/latest/schemaorg-current-http.jsonld --output assets/schemaorg-current-http.jsonld
- name: Set variables
run: |
VER=$(cat VERSION)
echo "VERSION=$VER" >> $GITHUB_ENV
# - name: Run tests
# run: go test -v -p=1 -timeout=0 ./...
- id: binary
name: build
run: |
go build -o nabu -ldflags "-s -w -X main.VERSION=${{ env.VERSION }} -X github.com/gleanerio/nabu/pkg.VERSION=${{ env.VERSION }}"
working-directory: ./cmd/nabu
env:
GOOS: ${{matrix.goss}}
GOARCH: ${{matrix.goarch}}
CGO_ENABLED: 0
# deploy:
# needs: build
# name: Dockerize Gleaner
# runs-on: ubuntu-latest
# steps:
# - name: Checkout Repo
# uses: actions/checkout@v2
- name: Set up QEMU
uses: docker/setup-qemu-action@v3
with:
platforms: ${{matrix.goarch}}
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Login to DockerHub
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Extract metadata (tags, labels) for Docker
id: meta
uses: docker/metadata-action@v5
with:
images: ${{ env.REGISTRY_IMAGE }}
flavor: |
latest=true
# tags: |
# type=ref,event=tag
# type=ref,event=branch
# type=semver,pattern={{version}}
tags: |
type=ref,event=tag
type=semver,pattern={{version}}
- name: Build and push by digest
id: build
uses: docker/build-push-action@v6
with:
# push: true
platforms: ${{ matrix.platform }}
#platforms: linux/amd64,linux/arm64
# tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
file: ./build/Dockerfile
context: .
outputs: type=image,name=${{ env.REGISTRY_IMAGE }},push-by-digest=true,name-canonical=true,push=true
# - name: Image digest
# run: echo ${{ steps.docker_build.outputs.digest }}
- name: Export digest
run: |
mkdir -p /tmp/digests
digest="${{ steps.build.outputs.digest }}"
touch "/tmp/digests/${digest#sha256:}"
- name: Upload digest
uses: actions/upload-artifact@v4
with:
name: digests-${{ matrix.goarch }}
path: /tmp/digests/*
if-no-files-found: error
retention-days: 1
merge:
runs-on: ubuntu-latest
needs:
- build
strategy:
matrix:
include:
- goarch: amd64
goos: "linux"
platform: linux/amd64
- goarch: arm64
goos: "linux"
platform:
linux/arm64
steps:

- name: Download digests
uses: actions/download-artifact@v4
with:
name: digests-${{ matrix.goarch }}
path: /tmp/digests
-
name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
-
name: Docker meta
id: meta
uses: docker/metadata-action@v5
with:
images: ${{ env.REGISTRY_IMAGE }}
flavor: |
latest=true
tags: |
type=ref,event=tag
type=ref,event=branch
type=semver,pattern={{version}}

-
name: Login to Docker Hub
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
-
name: Create manifest list and push
working-directory: /tmp/digests
run: |
docker buildx imagetools create $(jq -cr '.tags | map("-t " + .) | join(" ")' <<< "$DOCKER_METADATA_OUTPUT_JSON") \
$(printf '${{ env.REGISTRY_IMAGE }}@sha256:%s ' *)
-
name: Inspect image
run: |
docker buildx imagetools inspect ${{ env.REGISTRY_IMAGE }}:${{ steps.meta.outputs.version }}
6 changes: 5 additions & 1 deletion .github/workflows/release_nabu.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,10 @@ jobs:
- uses: actions/checkout@v2
# - name: Run tests
# run: go test -v -p=1 -timeout=0 ./...
- name: donwload schema
run: curl https://schema.org/version/latest/schemaorg-current-https.jsonld --output assets/schemaorg-current-https.jsonld
- name: donwload schema
run: curl https://schema.org/version/latest/schemaorg-current-http.jsonld --output assets/schemaorg-current-http.jsonld
- uses: wangyoucao577/[email protected]
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
Expand All @@ -30,5 +34,5 @@ jobs:
project_path: "./cmd/nabu"
binary_name: "nabu"
ldflags: "-s -w"
extra_files: README.md docs/ web/ config/ scripts/
extra_files: README.md docs/ web/ config/ scripts/ assets/
# extra_files: LICENSE README.md
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,5 @@ secret/**
logs/**
/cmd/nabu/nabu
**/*.log
**/.idea/**
**/.idea/**
**/.fleet/**
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,6 @@ nabu:
cd cmd/nabu; \
GOOS=linux GOARCH=amd64 CGO_ENABLED=0 env go build -o nabu

releases: nabu

docker:
podman build --tag="fils/nabu:$(VERSION)" --file=./build/Dockerfile .

Expand All @@ -19,3 +17,5 @@ publish:
docker tag fils/nabu:$(VERSION) fils/nabu:latest
docker push fils/nabu:$(VERSION) ; \
docker push fils/nabu:latest

releases: nabu docker dockerpush publish
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@

## About

Nabu is a program for loading data graphs into triple-stores. Its main goal is to synchronize a collection
of RDF graphs (for example JSON-LD document) in an object store (minio, S3, etc.) into a
graph database/triplestore like blazegraph or jena.
Nabu's main goal is to load/synchronize a collection of RDF graphs (for example JSON-LD document) in an
object store (minio, S3, etc.) into a graph database/triplestore. It's core logic can also be extended to load
graphs into other programs.

Further information can be found in the [documentation directory](./docs/README.md).
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
2.0.3-developement
2.0.19-df-development
Loading
Loading