Skip to content

Commit

Permalink
renamed project
Browse files Browse the repository at this point in the history
  • Loading branch information
aidansteele committed Jan 8, 2019
1 parent 1348bb7 commit 400ea32
Show file tree
Hide file tree
Showing 11 changed files with 16 additions and 68 deletions.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@ conf.json
bin/
vendor.orig/
deb-simple
debsimple.db
simpledeb.db
build-stuff/
testing
19 changes: 0 additions & 19 deletions .travis.yml

This file was deleted.

33 changes: 0 additions & 33 deletions Makefile

This file was deleted.

4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[![Build Status](https://travis-ci.org/esell/deb-simple.svg?branch=master)](https://travis-ci.org/esell/deb-simple)
[![Coverage Status](https://coveralls.io/repos/github/esell/deb-simple/badge.svg?branch=master)](https://coveralls.io/github/esell/deb-simple?branch=master)
[![Build Status](https://travis-ci.org/aidansteele/simpledeb.svg?branch=master)](https://travis-ci.org/aidansteele/simpledeb)
[![Coverage Status](https://coveralls.io/repos/github/aidansteele/simpledeb/badge.svg?branch=master)](https://coveralls.io/github/aidansteele/simpledeb?branch=master)


# deb-simple (get it? dead simple.. deb simple...)
Expand Down
10 changes: 5 additions & 5 deletions cmd/build.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ package cmd

import (
"fmt"
"github.com/esell/deb-simple/pkg/debsimple"
"github.com/aidansteele/simpledeb/pkg/simpledeb"
"github.com/mitchellh/go-homedir"
"github.com/spf13/cobra"
"os"
Expand Down Expand Up @@ -41,7 +41,7 @@ index.
}

func build(key, output, distro, section string, debs []string) {
c := debsimple.Conf{
c := simpledeb.Conf{
RootRepoPath: output,
SupportArch: []string{"i386", "amd64"},
DistroNames: []string{distro},
Expand All @@ -50,12 +50,12 @@ func build(key, output, distro, section string, debs []string) {
EnableSigning: true,
}

debsimple.Main(c)
simpledeb.Main(c)

for _, deb := range debs {
arch := guessArchitecture(deb)
newpath := debsimple.CopyDeb(deb, c, distro, section, arch)
debsimple.CreateMetadata(newpath, c)
newpath := simpledeb.CopyDeb(deb, c, distro, section, arch)
simpledeb.CreateMetadata(newpath, c)
fmt.Fprintf(os.Stderr, "Processed %s\n", deb)
}
}
Expand Down
4 changes: 2 additions & 2 deletions cmd/key.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package cmd

import (
"github.com/esell/deb-simple/pkg/debsimple"
"github.com/aidansteele/simpledeb/pkg/simpledeb"
"github.com/mitchellh/go-homedir"
"github.com/spf13/cobra"
"io/ioutil"
Expand Down Expand Up @@ -32,7 +32,7 @@ func init() {
}

func key(name, email, pub, priv string) {
keys := debsimple.CreateKey(name, email)
keys := simpledeb.CreateKey(name, email)
ioutil.WriteFile(pub, keys.PublicKey, 0644)
ioutil.WriteFile(priv, keys.PrivateKey, 0600)
}
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/esell/deb-simple
module github.com/aidansteele/simpledeb

require (
github.com/BurntSushi/toml v0.3.1 // indirect
Expand Down
2 changes: 1 addition & 1 deletion main.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package main

import "github.com/esell/deb-simple/cmd"
import "github.com/aidansteele/simpledeb/cmd"

func main() {
cmd.RootCmd.Execute()
Expand Down
2 changes: 1 addition & 1 deletion pkg/debsimple/debsimple.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package debsimple
package simpledeb

import (
"fmt"
Expand Down
2 changes: 1 addition & 1 deletion pkg/debsimple/packages.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package debsimple
package simpledeb

import (
"archive/tar"
Expand Down
4 changes: 2 additions & 2 deletions pkg/debsimple/signing.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package debsimple
package simpledeb

import (
"bytes"
Expand Down Expand Up @@ -234,6 +234,6 @@ type CreateKeyOutput struct {

// CreateKey generates a new public and private key pair, and writes them out to workingDirectory.
func CreateKey(name, email string) CreateKeyOutput {
_, publicKey, privateKey := createKeyPair(name, "Generated by deb-simple", email)
_, publicKey, privateKey := createKeyPair(name, "Generated by github.com/aidansteele/simpledeb", email)
return CreateKeyOutput{PublicKey: publicKey, PrivateKey: privateKey}
}

0 comments on commit 400ea32

Please sign in to comment.