Skip to content

Commit

Permalink
update all old imports
Browse files Browse the repository at this point in the history
  • Loading branch information
fils committed Sep 29, 2021
1 parent 7c2a155 commit 38298d4
Show file tree
Hide file tree
Showing 25 changed files with 51 additions and 51 deletions.
14 changes: 7 additions & 7 deletions cmd/gleaner/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,13 @@ import (
"github.com/minio/minio-go/v7"
"github.com/spf13/viper"

"github.com/earthcubearchitecture-project418/gleaner/internal/check"
"github.com/earthcubearchitecture-project418/gleaner/internal/common"
"github.com/earthcubearchitecture-project418/gleaner/internal/millers"
"github.com/earthcubearchitecture-project418/gleaner/internal/objects"
"github.com/earthcubearchitecture-project418/gleaner/internal/organizations"
"github.com/earthcubearchitecture-project418/gleaner/internal/summoner"
"github.com/earthcubearchitecture-project418/gleaner/internal/summoner/acquire"
"github.com/gleanerio/gleaner/internal/check"
"github.com/gleanerio/gleaner/internal/common"
"github.com/gleanerio/gleaner/internal/millers"
"github.com/gleanerio/gleaner/internal/objects"
"github.com/gleanerio/gleaner/internal/organizations"
"github.com/gleanerio/gleaner/internal/summoner"
"github.com/gleanerio/gleaner/internal/summoner/acquire"
)

var viperVal, sourceVal, modeVal string
Expand Down
4 changes: 2 additions & 2 deletions cmd/husker/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ import (
"log"
"time"

"github.com/earthcubearchitecture-project418/gleaner/internal/common"
"github.com/earthcubearchitecture-project418/gleaner/internal/summoner/acquire"
"github.com/gleanerio/gleaner/internal/common"
"github.com/gleanerio/gleaner/internal/summoner/acquire"

"github.com/spf13/viper"
)
Expand Down
4 changes: 2 additions & 2 deletions docs/Deprecated/DEMO.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@ docker and how to install it for your system at https://www.docker.com/
## Downloads

* Pull down the docker config from
https://github.com/earthcubearchitecture-project418/gleaner/tree/master/deployments We will use the
https://github.com/gleanerio/gleaner/tree/master/deployments We will use the
gleaner-base.yml
* Pull down the "starterpack.zip" from https://github.com/earthcubearchitecture-project418/gleaner/releases
* Pull down the "starterpack.zip" from https://github.com/gleanerio/gleaner/releases
* Pull down the copy of gleaner for your system from the distribution page
* The minio S3 client mc is also needed. https://min.io/download
* You will likely need to "chmod +x mc" that client
Expand Down
10 changes: 5 additions & 5 deletions docs/Deprecated/runningGleanerOLD.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ If you are interested in publishing this sort of data, take a look at the ESIP h

To start this guide you will need a few things first. One is a computer with Docker installed. Docker is a popular tool for creating and using containers. Containers are packaged applications like databases, games or web servers. The Docker runtime providers a cross platform environment to run this common container images. Images are downloaded from the net and can be maintained and updated. Containers can be run in large cloud based environments with sophisticated orchestration systems or on your local computer. For this example we will be running on a rather simple Linux based server provided by NSF's XSEDE environment. However, any personal computer will do just fine. You can download Docekr your PC or Mac at https://www.docker.com/products/docker-desktop and Linux users can typically just use your distro's package management system.

Once you have Docker installed and verified its operation you will need to download the Gleaner "Stater Pack". Reference the Gleaner releases at https://github.com/earthcubearchitecture-project418/gleaner/releases to download the needed files for this guide. In particular the starterpack.zip located in the assets section of the releases.
Once you have Docker installed and verified its operation you will need to download the Gleaner "Stater Pack". Reference the Gleaner releases at https://github.com/gleanerio/gleaner/releases to download the needed files for this guide. In particular the starterpack.zip located in the assets section of the releases.

Gleaner is a command line application, so you will need a terminal program on your computer and be comfortable issuing basic commands.

Expand All @@ -36,14 +36,14 @@ docker swarm leave

### Starter Pack

To provide you a set of files and scripts to bootstrap the process we have created a starter pack ZIP file. Let's make a directory and download the starter pack. Visit the web site at https://github.com/earthcubearchitecture-project418/gleaner/releases and find the latest release. In the assets drop down section you will find links to the various assets of that release. We will need the starterpack.zip file.
To provide you a set of files and scripts to bootstrap the process we have created a starter pack ZIP file. Let's make a directory and download the starter pack. Visit the web site at https://github.com/gleanerio/gleaner/releases and find the latest release. In the assets drop down section you will find links to the various assets of that release. We will need the starterpack.zip file.

Here we will use wget to download the file, but you could use curl or just web browser to download this file. Be sure to visit the release page at GitHub and not just use the command from below as this will likely be out of date with the current release versions.

```bash
root@gleaner:~# mkdir gleanerRuns
root@gleaner:~# cd gleanerRuns/
root@gleaner:~/gleanerRuns# wget https://github.com/earthcubearchitecture-project418/gleaner/releases/download/2.0.11/starterpack.zip
root@gleaner:~/gleanerRuns# wget https://github.com/gleanerio/gleaner/releases/download/2.0.11/starterpack.zip
[...]
Saving to: ‘starterpack.zip’
[...]
Expand Down Expand Up @@ -105,7 +105,7 @@ Those of you more familiar with Docker might note you could copy this file to a

## Docker Compose command

We are not ready to set up the containers we need running to support Gleaner. In the starter pack there is a file called docker-compose.yml. It's a bit large for this document but you can view the version on GitHub at: https://github.com/earthcubearchitecture-project418/gleaner/blob/master/docs/starterpack/docker-compose.yml
We are not ready to set up the containers we need running to support Gleaner. In the starter pack there is a file called docker-compose.yml. It's a bit large for this document but you can view the version on GitHub at: https://github.com/gleanerio/gleaner/blob/master/docs/starterpack/docker-compose.yml

This file contains the instructions Docker will use to download and run the various container images we need. If you look at the file you will see 6 images. Their labels and a short description follow;

Expand Down Expand Up @@ -282,7 +282,7 @@ The url value needs to point to the URL for the site map XML file. This will be
The headless value should be set to false unless you know this site uses JavaScript to place the JSON-LD into the page. This is true of some sites and it is supported but not currently auto-detected. So you will need to know this and set it. For most place, this will be false.
You can have as many sources as you wish. For an example look the configure file for the CDF Semantic Network at: https://github.com/earthcubearchitecture-project418/CDFSemanticNetwork/blob/master/configs/cdf.yaml
You can have as many sources as you wish. For an example look the configure file for the CDF Semantic Network at: https://github.com/gleanerio/CDFSemanticNetwork/blob/master/configs/cdf.yaml
For this demo we will use the site map for Open Core data. However, I would prefer to get a better and smaller example source that could highlight various capabilities and edge cases for this package.
Expand Down
4 changes: 2 additions & 2 deletions docs/cliDocker/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ client, mc, for this.

## Steps

Download the script gleanerDocker.sh from https://github.com/earthcubearchitecture-project418/gleaner/tree/master/docs/cliDocker You may need to make it run-able with
Download the script gleanerDocker.sh from https://github.com/gleanerio/gleaner/tree/master/docs/cliDocker You may need to make it run-able with

```bash
curl -O https://raw.githubusercontent.com/earthcubearchitecture-project418/gleaner/master/docs/cliDocker/gleanerDocker.sh
Expand Down Expand Up @@ -247,6 +247,6 @@ We have attempted here to give a quick introduction to the use of Gleaner in a D
environment. This is a very simple example, but it should give you an idea of the approach
used. This approach can then be combined with other approaches documented to establish a
more production oriented implementation. Most of this documentation will be located
at the [Gleaner.io GitHub repository](https://github.com/gleanerio) and [Gleaner](https://github.com/earthcubearchitecture-project418/gleaner) repository.
at the [Gleaner.io GitHub repository](https://github.com/gleanerio) and [Gleaner](https://github.com/gleanerio/gleaner) repository.

> Note: The plan is to merge the Gleaner.io GitHub repository into the first.
2 changes: 1 addition & 1 deletion docs/cliDocker/gleanerDocker.sh
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ then
curl -O https://raw.githubusercontent.com/earthcubearchitecture-project418/gleaner/master/deployment/setenvIS.sh
curl -O https://raw.githubusercontent.com/earthcubearchitecture-project418/gleaner/master/deployment/gleaner-IS.yml
docker pull fils/gleaner:latest
echo "\n See notes at: https://github.com/earthcubearchitecture-project418/gleaner/blob/dev/docs/cliDocker/README.md \n"
echo "\n See notes at: https://github.com/gleanerio/gleaner/blob/dev/docs/cliDocker/README.md \n"
exit 0
fi

Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
module github.com/earthcubearchitecture-project418/gleaner
module github.com/gleanerio/gleaner

go 1.14

Expand Down
2 changes: 1 addition & 1 deletion internal/millers/graph/graphng.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ import (
"github.com/piprate/json-gold/ld"
"github.com/schollz/progressbar/v3"

"github.com/earthcubearchitecture-project418/gleaner/internal/common"
"github.com/gleanerio/gleaner/internal/common"
minio "github.com/minio/minio-go/v7"
"github.com/spf13/viper"
)
Expand Down
2 changes: 1 addition & 1 deletion internal/millers/millers.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (
"log"
"time"

"github.com/earthcubearchitecture-project418/gleaner/internal/millers/graph"
"github.com/gleanerio/gleaner/internal/millers/graph"
"github.com/minio/minio-go/v7"
"github.com/spf13/viper"
)
Expand Down
4 changes: 2 additions & 2 deletions internal/millers/shapes/shacl.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ import (
"strings"
"sync"

"github.com/earthcubearchitecture-project418/gleaner/internal/common"
"github.com/earthcubearchitecture-project418/gleaner/internal/millers/graph"
"github.com/gleanerio/gleaner/internal/common"
"github.com/gleanerio/gleaner/internal/millers/graph"

"github.com/knakk/rdf"
minio "github.com/minio/minio-go/v7"
Expand Down
2 changes: 1 addition & 1 deletion internal/millers/shapes/shaclng.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import (

"github.com/gosuri/uiprogress"

"github.com/earthcubearchitecture-project418/gleaner/internal/common"
"github.com/gleanerio/gleaner/internal/common"
minio "github.com/minio/minio-go"
"github.com/spf13/viper"
)
Expand Down
4 changes: 2 additions & 2 deletions internal/millers/shapes/tangramCall.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ import (
"net/http"
"strings"

"github.com/earthcubearchitecture-project418/gleaner/internal/common"
"github.com/earthcubearchitecture-project418/gleaner/internal/millers/graph"
"github.com/gleanerio/gleaner/internal/common"
"github.com/gleanerio/gleaner/internal/millers/graph"
minio "github.com/minio/minio-go"
"github.com/piprate/json-gold/ld"
"github.com/spf13/viper"
Expand Down
4 changes: 2 additions & 2 deletions internal/organizations/memfile.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ import (
"log"
"strings"

"github.com/earthcubearchitecture-project418/gleaner/internal/common"
"github.com/earthcubearchitecture-project418/gleaner/internal/objects"
"github.com/gleanerio/gleaner/internal/common"
"github.com/gleanerio/gleaner/internal/objects"
"github.com/knakk/rdf"
"github.com/xitongsys/parquet-go-source/mem"
"github.com/xitongsys/parquet-go/writer"
Expand Down
4 changes: 2 additions & 2 deletions internal/organizations/org.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ import (

"github.com/aws/aws-sdk-go/aws"
"github.com/aws/aws-sdk-go/aws/credentials"
"github.com/earthcubearchitecture-project418/gleaner/internal/common"
"github.com/earthcubearchitecture-project418/gleaner/internal/objects"
"github.com/gleanerio/gleaner/internal/common"
"github.com/gleanerio/gleaner/internal/objects"
"github.com/knakk/rdf"
"github.com/xitongsys/parquet-go-source/s3"
"github.com/xitongsys/parquet-go/writer"
Expand Down
2 changes: 1 addition & 1 deletion internal/summoner/acquire/acquire.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ import (
"time"

"github.com/PuerkitoBio/goquery"
"github.com/earthcubearchitecture-project418/gleaner/internal/common"
"github.com/gleanerio/gleaner/internal/common"
"github.com/minio/minio-go/v7"
"github.com/schollz/progressbar/v3"
"github.com/spf13/viper"
Expand Down
2 changes: 1 addition & 1 deletion internal/summoner/acquire/headlessNG.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import (
"log"
"time"

"github.com/earthcubearchitecture-project418/gleaner/internal/common"
"github.com/gleanerio/gleaner/internal/common"
"github.com/mafredri/cdp"
"github.com/mafredri/cdp/devtool"
"github.com/mafredri/cdp/protocol/network"
Expand Down
4 changes: 2 additions & 2 deletions internal/summoner/acquire/prov.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ import (
"text/template"
"time"

"github.com/earthcubearchitecture-project418/gleaner/internal/common"
"github.com/earthcubearchitecture-project418/gleaner/internal/objects"
"github.com/gleanerio/gleaner/internal/common"
"github.com/gleanerio/gleaner/internal/objects"
"github.com/minio/minio-go/v7"
"github.com/spf13/viper"
)
Expand Down
4 changes: 2 additions & 2 deletions internal/summoner/acquire/resources.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ import (
"fmt"
"log"

"github.com/earthcubearchitecture-project418/gleaner/internal/objects"
"github.com/earthcubearchitecture-project418/gleaner/internal/summoner/sitemaps"
"github.com/gleanerio/gleaner/internal/objects"
"github.com/gleanerio/gleaner/internal/summoner/sitemaps"
"github.com/minio/minio-go/v7"
"github.com/spf13/viper"
)
Expand Down
6 changes: 3 additions & 3 deletions internal/summoner/acquire/sitegraph.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@ import (
"log"
"net/http"

"github.com/earthcubearchitecture-project418/gleaner/internal/common"
"github.com/earthcubearchitecture-project418/gleaner/internal/millers/graph"
"github.com/earthcubearchitecture-project418/gleaner/internal/objects"
"github.com/gleanerio/gleaner/internal/common"
"github.com/gleanerio/gleaner/internal/millers/graph"
"github.com/gleanerio/gleaner/internal/objects"
"github.com/minio/minio-go/v7"
"github.com/spf13/viper"
)
Expand Down
2 changes: 1 addition & 1 deletion internal/summoner/summoner.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"log"
"time"

"github.com/earthcubearchitecture-project418/gleaner/internal/summoner/acquire"
"github.com/gleanerio/gleaner/internal/summoner/acquire"
"github.com/minio/minio-go/v7"
"github.com/spf13/viper"
)
Expand Down
2 changes: 1 addition & 1 deletion static/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
<nav>
<a href="/"><img alt="Gleaner" src="/G_grey.png" height="80"></a>
<ul>
<li><a href="https://github.com/earthcubearchitecture-project418/gleaner">GitHub</a></li>
<li><a href="https://github.com/gleanerio/gleaner">GitHub</a></li>
<li><a href="#">More Info</a>
<ul>
<li><a href="#">About Gleaner Web</a></li>
Expand Down
4 changes: 2 additions & 2 deletions tools/dev_nanoprov/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ import (
"fmt"
"log"

"github.com/earthcubearchitecture-project418/gleaner/internal/common"
"github.com/earthcubearchitecture-project418/gleaner/internal/summoner/acquire"
"github.com/gleanerio/gleaner/internal/common"
"github.com/gleanerio/gleaner/internal/summoner/acquire"
"github.com/spf13/viper"
)

Expand Down
4 changes: 2 additions & 2 deletions tools/ldfeed/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ import (
"net/http"
"time"

"github.com/earthcubearchitecture-project418/gleaner/internal/common"
"github.com/earthcubearchitecture-project418/gleaner/internal/objects"
"github.com/gleanerio/gleaner/internal/common"
"github.com/gleanerio/gleaner/internal/objects"
"github.com/minio/minio-go/v7"
"github.com/minio/minio-go/v7/pkg/credentials"
"github.com/spf13/viper"
Expand Down
4 changes: 2 additions & 2 deletions tools/siteprovdiff/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ import (
"log"
"time"

"github.com/earthcubearchitecture-project418/gleaner/internal/objects"
"github.com/earthcubearchitecture-project418/gleaner/internal/summoner/acquire"
"github.com/gleanerio/gleaner/internal/objects"
"github.com/gleanerio/gleaner/internal/summoner/acquire"
"github.com/minio/minio-go/v7"
"github.com/minio/minio-go/v7/pkg/credentials"
"github.com/spf13/viper"
Expand Down
6 changes: 3 additions & 3 deletions tools/testHarness/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@ import (
awscred "github.com/aws/aws-sdk-go/aws/credentials"

"github.com/aws/aws-sdk-go/aws"
"github.com/earthcubearchitecture-project418/gleaner/internal/common"
"github.com/earthcubearchitecture-project418/gleaner/internal/organizations"
"github.com/gleanerio/gleaner/internal/common"
"github.com/gleanerio/gleaner/internal/organizations"

"github.com/knakk/rdf"
"github.com/minio/minio-go/v7"
Expand Down Expand Up @@ -82,7 +82,7 @@ func main() {
v1.Set("summoner", m)
}

log.Println(v1)
log.Println(v1)
os.Exit(0)

// Set up the minio connector
Expand Down

0 comments on commit 38298d4

Please sign in to comment.