Skip to content

Commit

Permalink
Merge pull request #32 from neicnordic/refactor/move-repository
Browse files Browse the repository at this point in the history
refactor respository
  • Loading branch information
blankdots authored Sep 8, 2022
2 parents 9738c86 + 61fa8d3 commit 53aa373
Show file tree
Hide file tree
Showing 14 changed files with 30 additions and 31 deletions.
4 changes: 2 additions & 2 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
release:
github:
owner: elixir-oslo
owner: neicnordic
name: crypt4gh

builds:
Expand All @@ -22,4 +22,4 @@ changelog:
filters:
exclude:
- '^docs:'
- '^test:'
- '^test:'
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
MIT License

Copyright (c) 2020 elixir-oslo
Copyright (c) 2022 elixir-oslo/neicnordic

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
18 changes: 8 additions & 10 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,9 @@
# crypt4gh
[![Build Status](https://github.com/elixir-oslo/crypt4gh/workflows/Go/badge.svg)](https://github.com/elixir-oslo/crypt4gh/actions)
[![GoDoc](https://godoc.org/github.com/elixir-oslo/crypt4gh?status.svg)](https://pkg.go.dev/github.com/elixir-oslo/crypt4gh?tab=subdirectories)
[![CodeFactor](https://www.codefactor.io/repository/github/elixir-oslo/crypt4gh/badge)](https://www.codefactor.io/repository/github/elixir-oslo/crypt4gh)
[![Go Report Card](https://goreportcard.com/badge/github.com/elixir-oslo/crypt4gh)](https://goreportcard.com/report/github.com/elixir-oslo/crypt4gh)
[![codecov](https://codecov.io/gh/elixir-oslo/crypt4gh/branch/master/graph/badge.svg)](https://codecov.io/gh/elixir-oslo/crypt4gh)
![Sourcegraph for Repo Reference Count](https://img.shields.io/sourcegraph/rrc/github.com/elixir-oslo/crypt4gh)
[![DeepSource](https://deepsource.io/gh/elixir-oslo/crypt4gh.svg/?label=active+issues&show_trend=true)](https://deepsource.io/gh/elixir-oslo/crypt4gh/?ref=repository-badge)
[![Build Status](https://github.com/neicnordic/crypt4gh/workflows/Go/badge.svg)](https://github.com/neicnordic/crypt4gh/actions)
[![GoDoc](https://godoc.org/github.com/neicnordic/crypt4gh?status.svg)](https://pkg.go.dev/github.com/neicnordic/crypt4gh?tab=subdirectories)
[![Go Report Card](https://goreportcard.com/report/github.com/neicnordic/crypt4gh)](https://goreportcard.com/report/github.com/neicnordic/crypt4gh)
[![codecov](https://codecov.io/gh/neicnordic/crypt4gh/branch/master/graph/badge.svg)](https://codecov.io/gh/neicnordic/crypt4gh)

## Overview
![](https://www.ga4gh.org/wp-content/uploads/Crypt4GH_comic.png)

Expand All @@ -19,16 +17,16 @@ Current version of specs can be found [here](http://samtools.github.io/hts-specs

### Linux
```
curl -fsSL https://raw.githubusercontent.com/elixir-oslo/crypt4gh/master/install.sh | sudo sh
curl -fsSL https://raw.githubusercontent.com/neicnordic/crypt4gh/master/install.sh | sudo sh
```

### MacOS
```
curl -fsSL https://raw.githubusercontent.com/elixir-oslo/crypt4gh/master/install.sh | sh
curl -fsSL https://raw.githubusercontent.com/neicnordic/crypt4gh/master/install.sh | sh
```

### Windows
Go to the [releases page](https://github.com/elixir-oslo/crypt4gh/releases) and download the binary manually.
Go to the [releases page](https://github.com/neicnordic/crypt4gh/releases) and download the binary manually.

## Usage
```
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/elixir-oslo/crypt4gh
module github.com/neicnordic/crypt4gh

go 1.17

Expand Down
6 changes: 3 additions & 3 deletions install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,13 @@ set -e
usage() {
this=$1
cat <<EOF
$this: download go binaries for elixir-oslo/crypt4gh
$this: download go binaries for neicnordic/crypt4gh
Usage: $this [-b] bindir [-d] [tag]
-b sets bindir or installation directory, Defaults to ./bin
-d turns on debug logging
[tag] is a tag from
https://github.com/elixir-oslo/crypt4gh/releases
https://github.com/neicnordic/crypt4gh/releases
If tag is missing, then the latest will be used.
Generated by godownloader
Expand Down Expand Up @@ -342,7 +342,7 @@ End of functions from https://github.com/client9/shlib
EOF

PROJECT_NAME="crypt4gh"
OWNER=elixir-oslo
OWNER=neicnordic
REPO="crypt4gh"
BINARY=crypt4gh
FORMAT=tar.gz
Expand Down
2 changes: 1 addition & 1 deletion keys/keys.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ import (

"filippo.io/edwards25519"

"github.com/elixir-oslo/crypt4gh/kdf"
"github.com/neicnordic/crypt4gh/kdf"
"golang.org/x/crypto/blake2b"
"golang.org/x/crypto/chacha20poly1305"
"golang.org/x/crypto/curve25519"
Expand Down
4 changes: 2 additions & 2 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,11 @@ import (
"os"
"strings"

"github.com/elixir-oslo/crypt4gh/keys"
"github.com/elixir-oslo/crypt4gh/streaming"
"github.com/jessevdk/go-flags"
"github.com/logrusorgru/aurora"
"github.com/manifoldco/promptui"
"github.com/neicnordic/crypt4gh/keys"
"github.com/neicnordic/crypt4gh/streaming"
"golang.org/x/crypto/chacha20poly1305"
)

Expand Down
2 changes: 1 addition & 1 deletion model/body/body.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import (
"errors"
"fmt"

"github.com/elixir-oslo/crypt4gh/model/headers"
"github.com/neicnordic/crypt4gh/model/headers"
"golang.org/x/crypto/chacha20poly1305"
)

Expand Down
3 changes: 2 additions & 1 deletion model/body/body_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,9 @@ import (
"bytes"
"encoding/hex"
"testing"

"github.com/neicnordic/crypt4gh/model/headers"
)
import "github.com/elixir-oslo/crypt4gh/model/headers"

var dataEncryptionParametersHeaderPacket = headers.DataEncryptionParametersHeaderPacket{
PacketType: headers.PacketType{PacketType: headers.DataEncryptionParameters},
Expand Down
2 changes: 1 addition & 1 deletion model/headers/headers.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import (
"fmt"
"io"

"github.com/elixir-oslo/crypt4gh/keys"
"github.com/neicnordic/crypt4gh/keys"
"golang.org/x/crypto/chacha20poly1305"
"golang.org/x/crypto/nacl/box"
)
Expand Down
2 changes: 1 addition & 1 deletion model/headers/headers_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import (
"strings"
"testing"

"github.com/elixir-oslo/crypt4gh/keys"
"github.com/neicnordic/crypt4gh/keys"
)

const crypt4gh_x25519_sec = `-----BEGIN CRYPT4GH ENCRYPTED PRIVATE KEY-----
Expand Down
4 changes: 2 additions & 2 deletions streaming/in.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ import (
"errors"
"io"

"github.com/elixir-oslo/crypt4gh/model/body"
"github.com/elixir-oslo/crypt4gh/model/headers"
"github.com/neicnordic/crypt4gh/model/body"
"github.com/neicnordic/crypt4gh/model/headers"
"golang.org/x/crypto/chacha20poly1305"
)

Expand Down
6 changes: 3 additions & 3 deletions streaming/out.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@ import (
"crypto/rand"
"io"

"github.com/elixir-oslo/crypt4gh/keys"
"github.com/elixir-oslo/crypt4gh/model/body"
"github.com/elixir-oslo/crypt4gh/model/headers"
"github.com/neicnordic/crypt4gh/keys"
"github.com/neicnordic/crypt4gh/model/body"
"github.com/neicnordic/crypt4gh/model/headers"
"golang.org/x/crypto/chacha20poly1305"
"golang.org/x/crypto/nacl/box"
)
Expand Down
4 changes: 2 additions & 2 deletions streaming/streaming_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ import (
"strings"
"testing"

"github.com/elixir-oslo/crypt4gh/keys"
"github.com/elixir-oslo/crypt4gh/model/headers"
"github.com/neicnordic/crypt4gh/keys"
"github.com/neicnordic/crypt4gh/model/headers"
"golang.org/x/crypto/chacha20poly1305"
)

Expand Down

0 comments on commit 53aa373

Please sign in to comment.