mirror of
https://gitea.com/jolheiser/sip
synced 2024-11-26 07:33:48 +01:00
Change to vanity URL (#37)
Fix YAML New changes, generate docs, and add Drone for main Signed-off-by: jolheiser <john.olheiser@gmail.com> Merge branch 'master' of gitea.com:jolheiser/sip into vanity Change to vanity URL Signed-off-by: jolheiser <john.olheiser@gmail.com> Co-authored-by: jolheiser <john.olheiser@gmail.com> Reviewed-on: https://gitea.com/jolheiser/sip/pulls/37
This commit is contained in:
parent
0bbe2e35ff
commit
5ecbcde518
10
.drone.yml
10
.drone.yml
@ -58,6 +58,16 @@ steps:
|
|||||||
- export PATH=$PATH:$GOPATH/bin
|
- export PATH=$PATH:$GOPATH/bin
|
||||||
- make release
|
- make release
|
||||||
|
|
||||||
|
- name: gitea
|
||||||
|
pull: always
|
||||||
|
image: jolheiser/drone-gitea-main:1
|
||||||
|
settings:
|
||||||
|
token:
|
||||||
|
from_secret: gitea_token
|
||||||
|
base: https://gitea.com
|
||||||
|
files:
|
||||||
|
- "dist/release/*"
|
||||||
|
|
||||||
---
|
---
|
||||||
kind: pipeline
|
kind: pipeline
|
||||||
name: release
|
name: release
|
||||||
|
@ -4,8 +4,8 @@ import (
|
|||||||
"errors"
|
"errors"
|
||||||
"fmt"
|
"fmt"
|
||||||
|
|
||||||
"gitea.com/jolheiser/sip/config"
|
"go.jolheiser.com/sip/config"
|
||||||
"gitea.com/jolheiser/sip/flag"
|
"go.jolheiser.com/sip/flag"
|
||||||
|
|
||||||
"code.gitea.io/sdk/gitea"
|
"code.gitea.io/sdk/gitea"
|
||||||
"github.com/AlecAivazis/survey/v2"
|
"github.com/AlecAivazis/survey/v2"
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
package cmd
|
package cmd
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"gitea.com/jolheiser/sip/config"
|
"go.jolheiser.com/sip/config"
|
||||||
|
|
||||||
"github.com/AlecAivazis/survey/v2"
|
"github.com/AlecAivazis/survey/v2"
|
||||||
"github.com/urfave/cli/v2"
|
"github.com/urfave/cli/v2"
|
||||||
|
@ -7,10 +7,10 @@ import (
|
|||||||
"strconv"
|
"strconv"
|
||||||
"strings"
|
"strings"
|
||||||
|
|
||||||
"gitea.com/jolheiser/sip/csv"
|
"go.jolheiser.com/sip/csv"
|
||||||
"gitea.com/jolheiser/sip/flag"
|
"go.jolheiser.com/sip/flag"
|
||||||
"gitea.com/jolheiser/sip/markdown"
|
"go.jolheiser.com/sip/markdown"
|
||||||
"gitea.com/jolheiser/sip/sdk"
|
"go.jolheiser.com/sip/sdk"
|
||||||
|
|
||||||
"code.gitea.io/sdk/gitea"
|
"code.gitea.io/sdk/gitea"
|
||||||
"github.com/AlecAivazis/survey/v2"
|
"github.com/AlecAivazis/survey/v2"
|
||||||
|
@ -3,8 +3,8 @@ package cmd
|
|||||||
import (
|
import (
|
||||||
"fmt"
|
"fmt"
|
||||||
|
|
||||||
"gitea.com/jolheiser/sip/flag"
|
"go.jolheiser.com/sip/flag"
|
||||||
"gitea.com/jolheiser/sip/markdown"
|
"go.jolheiser.com/sip/markdown"
|
||||||
|
|
||||||
"code.gitea.io/sdk/gitea"
|
"code.gitea.io/sdk/gitea"
|
||||||
"github.com/AlecAivazis/survey/v2"
|
"github.com/AlecAivazis/survey/v2"
|
||||||
|
@ -6,7 +6,7 @@ import (
|
|||||||
"strconv"
|
"strconv"
|
||||||
"strings"
|
"strings"
|
||||||
|
|
||||||
"gitea.com/jolheiser/sip/flag"
|
"go.jolheiser.com/sip/flag"
|
||||||
|
|
||||||
"github.com/skratchdot/open-golang/open"
|
"github.com/skratchdot/open-golang/open"
|
||||||
"github.com/urfave/cli/v2"
|
"github.com/urfave/cli/v2"
|
||||||
|
@ -7,8 +7,8 @@ import (
|
|||||||
"os/exec"
|
"os/exec"
|
||||||
"strconv"
|
"strconv"
|
||||||
|
|
||||||
"gitea.com/jolheiser/sip/config"
|
"go.jolheiser.com/sip/config"
|
||||||
"gitea.com/jolheiser/sip/flag"
|
"go.jolheiser.com/sip/flag"
|
||||||
|
|
||||||
"code.gitea.io/sdk/gitea"
|
"code.gitea.io/sdk/gitea"
|
||||||
"github.com/AlecAivazis/survey/v2"
|
"github.com/AlecAivazis/survey/v2"
|
||||||
|
@ -4,9 +4,9 @@ import (
|
|||||||
"fmt"
|
"fmt"
|
||||||
"strings"
|
"strings"
|
||||||
|
|
||||||
"gitea.com/jolheiser/sip/flag"
|
"go.jolheiser.com/sip/flag"
|
||||||
"gitea.com/jolheiser/sip/git"
|
"go.jolheiser.com/sip/git"
|
||||||
"gitea.com/jolheiser/sip/markdown"
|
"go.jolheiser.com/sip/markdown"
|
||||||
|
|
||||||
"code.gitea.io/sdk/gitea"
|
"code.gitea.io/sdk/gitea"
|
||||||
"github.com/AlecAivazis/survey/v2"
|
"github.com/AlecAivazis/survey/v2"
|
||||||
|
@ -4,9 +4,9 @@ import (
|
|||||||
"fmt"
|
"fmt"
|
||||||
"strconv"
|
"strconv"
|
||||||
|
|
||||||
"gitea.com/jolheiser/sip/flag"
|
"go.jolheiser.com/sip/flag"
|
||||||
"gitea.com/jolheiser/sip/git"
|
"go.jolheiser.com/sip/git"
|
||||||
"gitea.com/jolheiser/sip/sdk"
|
"go.jolheiser.com/sip/sdk"
|
||||||
|
|
||||||
"code.gitea.io/sdk/gitea"
|
"code.gitea.io/sdk/gitea"
|
||||||
"github.com/urfave/cli/v2"
|
"github.com/urfave/cli/v2"
|
||||||
|
@ -4,9 +4,9 @@ import (
|
|||||||
"fmt"
|
"fmt"
|
||||||
"os"
|
"os"
|
||||||
|
|
||||||
"gitea.com/jolheiser/sip/csv"
|
"go.jolheiser.com/sip/csv"
|
||||||
"gitea.com/jolheiser/sip/markdown"
|
"go.jolheiser.com/sip/markdown"
|
||||||
"gitea.com/jolheiser/sip/sdk"
|
"go.jolheiser.com/sip/sdk"
|
||||||
|
|
||||||
"code.gitea.io/sdk/gitea"
|
"code.gitea.io/sdk/gitea"
|
||||||
"github.com/AlecAivazis/survey/v2"
|
"github.com/AlecAivazis/survey/v2"
|
||||||
|
@ -7,8 +7,8 @@ import (
|
|||||||
"strconv"
|
"strconv"
|
||||||
"strings"
|
"strings"
|
||||||
|
|
||||||
"gitea.com/jolheiser/sip/flag"
|
"go.jolheiser.com/sip/flag"
|
||||||
"gitea.com/jolheiser/sip/sdk"
|
"go.jolheiser.com/sip/sdk"
|
||||||
|
|
||||||
"code.gitea.io/sdk/gitea"
|
"code.gitea.io/sdk/gitea"
|
||||||
"github.com/AlecAivazis/survey/v2"
|
"github.com/AlecAivazis/survey/v2"
|
||||||
|
@ -4,8 +4,8 @@ import (
|
|||||||
"fmt"
|
"fmt"
|
||||||
"strconv"
|
"strconv"
|
||||||
|
|
||||||
"gitea.com/jolheiser/sip/flag"
|
"go.jolheiser.com/sip/flag"
|
||||||
"gitea.com/jolheiser/sip/sdk"
|
"go.jolheiser.com/sip/sdk"
|
||||||
|
|
||||||
"code.gitea.io/sdk/gitea"
|
"code.gitea.io/sdk/gitea"
|
||||||
"github.com/AlecAivazis/survey/v2"
|
"github.com/AlecAivazis/survey/v2"
|
||||||
|
@ -3,8 +3,8 @@ package cmd
|
|||||||
import (
|
import (
|
||||||
"fmt"
|
"fmt"
|
||||||
|
|
||||||
"gitea.com/jolheiser/sip/flag"
|
"go.jolheiser.com/sip/flag"
|
||||||
"gitea.com/jolheiser/sip/git"
|
"go.jolheiser.com/sip/git"
|
||||||
|
|
||||||
"code.gitea.io/sdk/gitea"
|
"code.gitea.io/sdk/gitea"
|
||||||
"github.com/AlecAivazis/survey/v2"
|
"github.com/AlecAivazis/survey/v2"
|
||||||
|
@ -3,8 +3,8 @@ package cmd
|
|||||||
import (
|
import (
|
||||||
"strconv"
|
"strconv"
|
||||||
|
|
||||||
"gitea.com/jolheiser/sip/flag"
|
"go.jolheiser.com/sip/flag"
|
||||||
"gitea.com/jolheiser/sip/sdk"
|
"go.jolheiser.com/sip/sdk"
|
||||||
|
|
||||||
"code.gitea.io/sdk/gitea"
|
"code.gitea.io/sdk/gitea"
|
||||||
"github.com/urfave/cli/v2"
|
"github.com/urfave/cli/v2"
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
package cmd
|
package cmd
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"gitea.com/jolheiser/sip/config"
|
"go.jolheiser.com/sip/config"
|
||||||
|
|
||||||
"github.com/urfave/cli/v2"
|
"github.com/urfave/cli/v2"
|
||||||
"go.jolheiser.com/beaver"
|
"go.jolheiser.com/beaver"
|
||||||
|
@ -3,8 +3,8 @@ package cmd
|
|||||||
import (
|
import (
|
||||||
"errors"
|
"errors"
|
||||||
|
|
||||||
"gitea.com/jolheiser/sip/config"
|
"go.jolheiser.com/sip/config"
|
||||||
"gitea.com/jolheiser/sip/flag"
|
"go.jolheiser.com/sip/flag"
|
||||||
|
|
||||||
"code.gitea.io/sdk/gitea"
|
"code.gitea.io/sdk/gitea"
|
||||||
"github.com/AlecAivazis/survey/v2"
|
"github.com/AlecAivazis/survey/v2"
|
||||||
|
@ -3,7 +3,7 @@ package cmd
|
|||||||
import (
|
import (
|
||||||
"fmt"
|
"fmt"
|
||||||
|
|
||||||
"gitea.com/jolheiser/sip/config"
|
"go.jolheiser.com/sip/config"
|
||||||
|
|
||||||
"github.com/AlecAivazis/survey/v2"
|
"github.com/AlecAivazis/survey/v2"
|
||||||
"github.com/urfave/cli/v2"
|
"github.com/urfave/cli/v2"
|
||||||
|
2
docs.go
2
docs.go
@ -6,7 +6,7 @@ import (
|
|||||||
"os"
|
"os"
|
||||||
"strings"
|
"strings"
|
||||||
|
|
||||||
"gitea.com/jolheiser/sip/cmd"
|
"go.jolheiser.com/sip/cmd"
|
||||||
)
|
)
|
||||||
|
|
||||||
func main() {
|
func main() {
|
||||||
|
4
docs.md
4
docs.md
@ -112,6 +112,10 @@ Create a new release
|
|||||||
|
|
||||||
Attach files to a release
|
Attach files to a release
|
||||||
|
|
||||||
|
#### remove, delete, rm
|
||||||
|
|
||||||
|
Remove attachments from a release
|
||||||
|
|
||||||
## open, o
|
## open, o
|
||||||
|
|
||||||
Open a repository or issue/pull request
|
Open a repository or issue/pull request
|
||||||
|
@ -4,8 +4,8 @@ import (
|
|||||||
"fmt"
|
"fmt"
|
||||||
"sync"
|
"sync"
|
||||||
|
|
||||||
"gitea.com/jolheiser/sip/config"
|
"go.jolheiser.com/sip/config"
|
||||||
"gitea.com/jolheiser/sip/git"
|
"go.jolheiser.com/sip/git"
|
||||||
|
|
||||||
"github.com/urfave/cli/v2"
|
"github.com/urfave/cli/v2"
|
||||||
)
|
)
|
||||||
|
2
go.mod
2
go.mod
@ -1,4 +1,4 @@
|
|||||||
module gitea.com/jolheiser/sip
|
module go.jolheiser.com/sip
|
||||||
|
|
||||||
go 1.13
|
go 1.13
|
||||||
|
|
||||||
|
4
main.go
4
main.go
@ -3,8 +3,8 @@ package main
|
|||||||
import (
|
import (
|
||||||
"os"
|
"os"
|
||||||
|
|
||||||
"gitea.com/jolheiser/sip/cmd"
|
"go.jolheiser.com/sip/cmd"
|
||||||
"gitea.com/jolheiser/sip/config"
|
"go.jolheiser.com/sip/config"
|
||||||
|
|
||||||
"go.jolheiser.com/beaver"
|
"go.jolheiser.com/beaver"
|
||||||
)
|
)
|
||||||
|
@ -3,7 +3,7 @@ package sdk
|
|||||||
import (
|
import (
|
||||||
"strings"
|
"strings"
|
||||||
|
|
||||||
"gitea.com/jolheiser/sip/qualify"
|
"go.jolheiser.com/sip/qualify"
|
||||||
|
|
||||||
"code.gitea.io/sdk/gitea"
|
"code.gitea.io/sdk/gitea"
|
||||||
)
|
)
|
||||||
|
Loading…
Reference in New Issue
Block a user