Skip to content

Commit

Permalink
trustix-nix-reprod: Rename package to nix-community org
Browse files Browse the repository at this point in the history
  • Loading branch information
adisbladis committed Sep 3, 2022
1 parent d01f602 commit e5fe848
Show file tree
Hide file tree
Showing 8 changed files with 16 additions and 16 deletions.
2 changes: 1 addition & 1 deletion packages/go-lib/go.mod
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
module github.com/tweag/trustix/packages/go-lib
module github.com/nix-community/trustix/packages/go-lib

go 1.18

Expand Down
2 changes: 1 addition & 1 deletion packages/trustix-nix-reprod/cmd/index-eval.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ import (
"fmt"

"github.com/spf13/cobra"
"github.com/tweag/trustix/packages/trustix-nix-reprod/index"
"github.com/nix-community/trustix/packages/trustix-nix-reprod/index"
)

const sqlDialect = "sqlite"
Expand Down
2 changes: 1 addition & 1 deletion packages/trustix-nix-reprod/cmd/migrate.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"database/sql"

"github.com/pressly/goose/v3"
schema "github.com/tweag/trustix/packages/trustix-nix-reprod/sql"
schema "github.com/nix-community/trustix/packages/trustix-nix-reprod/sql"
)

func migrate(db *sql.DB, dialect string) error {
Expand Down
2 changes: 1 addition & 1 deletion packages/trustix-nix-reprod/eval/eval.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ import (
"syscall"

"github.com/buger/jsonparser"
"github.com/tweag/trustix/packages/trustix-nix-reprod/lib"
"github.com/nix-community/trustix/packages/trustix-nix-reprod/lib"
)

type EvalResult struct {
Expand Down
2 changes: 1 addition & 1 deletion packages/trustix-nix-reprod/eval/interface.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ package eval

import (
"context"
"github.com/tweag/trustix/packages/trustix-nix-reprod/lib"
"github.com/nix-community/trustix/packages/trustix-nix-reprod/lib"
)

type Evaluator func(context.Context, *EvalConfig) (chan *lib.Result[*EvalResult], error)
6 changes: 3 additions & 3 deletions packages/trustix-nix-reprod/go.mod
Original file line number Diff line number Diff line change
@@ -1,20 +1,20 @@
module github.com/tweag/trustix/packages/trustix-nix-reprod
module github.com/nix-community/trustix/packages/trustix-nix-reprod

go 1.18

replace github.com/tweag/trustix/packages/go-lib => ../go-lib
replace github.com/nix-community/trustix/packages/go-lib => ../go-lib

require (
github.com/buger/jsonparser v1.1.1
github.com/hashicorp/golang-lru v0.5.4
github.com/kyleconroy/sqlc v1.15.0
github.com/nix-community/go-nix v0.0.0-20220822154651-3df711b31eb2
github.com/nix-community/trustix/packages/go-lib v0.0.0-00010101000000-000000000000
github.com/pbnjay/memory v0.0.0-20210728143218-7b4eea64cf58
github.com/pressly/goose v2.7.0+incompatible
github.com/pressly/goose/v3 v3.6.1
github.com/sirupsen/logrus v1.9.0
github.com/spf13/cobra v1.5.0
github.com/tweag/trustix/packages/go-lib v0.0.0-00010101000000-000000000000
modernc.org/sqlite v1.18.1
)

Expand Down
12 changes: 6 additions & 6 deletions packages/trustix-nix-reprod/index/index.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,12 @@ import (
"fmt"
"time"

"github.com/tweag/trustix/packages/go-lib/executor"
"github.com/tweag/trustix/packages/go-lib/safemap"
"github.com/tweag/trustix/packages/go-lib/set"
idb "github.com/tweag/trustix/packages/trustix-nix-reprod/db"
drvparse "github.com/tweag/trustix/packages/trustix-nix-reprod/derivation"
"github.com/tweag/trustix/packages/trustix-nix-reprod/eval"
"github.com/nix-community/trustix/packages/go-lib/executor"
"github.com/nix-community/trustix/packages/go-lib/safemap"
"github.com/nix-community/trustix/packages/go-lib/set"
idb "github.com/nix-community/trustix/packages/trustix-nix-reprod/db"
drvparse "github.com/nix-community/trustix/packages/trustix-nix-reprod/derivation"
"github.com/nix-community/trustix/packages/trustix-nix-reprod/eval"
)

const sqlDialect = "sqlite"
Expand Down
4 changes: 2 additions & 2 deletions packages/trustix-nix-reprod/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@
//
// You should have received a copy of the GNU General Public License along with this program. If not, see <https://www.gnu.org/licenses/>.

package main // import "github.com/tweag/trustix/packages/trustix-nix-reprod"
package main // import "github.com/nix-community/trustix/packages/trustix-nix-reprod"

import (
"github.com/tweag/trustix/packages/trustix-nix-reprod/cmd"
"github.com/nix-community/trustix/packages/trustix-nix-reprod/cmd"
_ "modernc.org/sqlite"
)

Expand Down

0 comments on commit e5fe848

Please sign in to comment.