Skip to content

Commit

Permalink
changing module name
Browse files Browse the repository at this point in the history
  • Loading branch information
dmuriel committed Dec 2, 2021
1 parent b170db1 commit f8d5899
Show file tree
Hide file tree
Showing 43 changed files with 74 additions and 74 deletions.
4 changes: 2 additions & 2 deletions .github/CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ First, thank you so much for wanting to contribute! It means so much that you ca

## First time committing to a go Repo?

Support for go Modules was introduced in [Release v0.13.0-beta.1](https://github.com/gobuffalo/buffalo/releases/tag/v0.13.0-beta.1), and you can now use them to easily set up a development environment. The steps involve:
Support for go Modules was introduced in [Release v0.13.0-beta.1](https://github.com/dmuriel/buffalo/releases/tag/v0.13.0-beta.1), and you can now use them to easily set up a development environment. The steps involve:

1. Fork the repo
2. Clone the repo to any location in your work station
Expand All @@ -13,7 +13,7 @@ Support for go Modules was introduced in [Release v0.13.0-beta.1](https://github

## How to contribute

1. Check [https://github.com/gobuffalo/buffalo/issues](https://github.com/gobuffalo/buffalo/issues) to make sure you're not working on a duplicate issue or PR.
1. Check [https://github.com/dmuriel/buffalo/issues](https://github.com/dmuriel/buffalo/issues) to make sure you're not working on a duplicate issue or PR.
2. If you want to implement a new feature that doesn't have an issue open, please open one and ask for feedback on the feature before spending a lot of time working on it. It's possible the feature has already been discussed, or it's out of scope, or some other reason that might later prevent a PR from being accepted. The [#buffalo](https://gobuffalo.io/docs/slack) channel on gophers.slack.com is a great place to seek this kind of guidance.
3. Write your feature/fix and make sure to include tests. Tests are an **absolute** requirement for any pull request. Please make sure to use the same testing style and libraries as the rest of the tests.
4. Make sure tests run when doing `go test ./...`. You may need to do `go get -t ./...` first to get the testing dependencies.
Expand Down
4 changes: 2 additions & 2 deletions .github/ISSUE_TEMPLATE.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@ Hello! Thank you so much for your interest in Buffalo. The fact you care enough

## Prerequisites

* Check the documentation resources [gobuffalo.io](https://gobuffalo.io) and [godoc.org](https://godoc.org/github.com/gobuffalo/buffalo) to see if there are docs, examples, etc. that might solve your problem quicker.
* Check the documentation resources [gobuffalo.io](https://gobuffalo.io) and [godoc.org](https://godoc.org/github.com/dmuriel/buffalo) to see if there are docs, examples, etc. that might solve your problem quicker.
* Make sure to provide as much information as possible (stack traces, error logs, code examples, screenshots...), so we can better help you.
* Read the [contributing guidelines](https://github.com/gobuffalo/buffalo/blob/master/.github/CONTRIBUTING.md).
* Read the [contributing guidelines](https://github.com/dmuriel/buffalo/blob/master/.github/CONTRIBUTING.md).
* Support question are better asked in one of the following locations:
* On [#buffalo](https://gobuffalo.io/docs/slack) Slack channel.
* [Stack Overflow](https://stackoverflow.com/questions/tagged/buffalo)
Expand Down
4 changes: 2 additions & 2 deletions Dockerfile.build
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ RUN apt-get update \
&& apt-get install -y -q build-essential sqlite3 libsqlite3-dev postgresql libpq-dev vim

# Installing Node 12
RUN curl -sL https://deb.nodesource.com/setup_12.x | bash
RUN curl -sL https://deb.nodesource.com/setup_12.x | bash
RUN apt-get update && apt-get install nodejs

# Installing Postgres
Expand All @@ -30,7 +30,7 @@ RUN npm install -g --no-progress yarn \
RUN curl -sfL https://install.goreleaser.com/github.com/golangci/golangci-lint.sh | sh -s -- -b $(go env GOPATH)/bin v1.24.0
# Installing buffalo binary
RUN go install github.com/gobuffalo/cli/cmd/buffalo@latest
RUN go get github.com/gobuffalo/buffalo-pop/v2
RUN go get github.com/dmuriel/buffalo-pop/v2

RUN mkdir /src
WORKDIR /src
4 changes: 2 additions & 2 deletions Dockerfile.slim.build
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ FROM golang:1.17-alpine

EXPOSE 3000

ENV GOPROXY=https://proxy.golang.org
ENV GOPROXY=https://proxy.golang.org

RUN apk add --no-cache --upgrade apk-tools \
&& apk add --no-cache bash curl openssl git build-base nodejs npm sqlite sqlite-dev mysql-client vim postgresql libpq postgresql-contrib libc6-compat
Expand All @@ -18,7 +18,7 @@ RUN npm i -g --no-progress yarn \

# Installing buffalo binary
RUN go install github.com/gobuffalo/cli/cmd/buffalo@latest
RUN go get github.com/gobuffalo/buffalo-pop/v2
RUN go get github.com/dmuriel/buffalo-pop/v2

RUN mkdir /src
WORKDIR /src
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ test:
make tidy

ci-deps:
$(GO_BIN) get github.com/gobuffalo/buffalo-pop
$(GO_BIN) get github.com/dmuriel/buffalo-pop
$(GO_BIN) get -tags ${TAGS} -t -v ./...
make tidy

Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
<p align="center"><img src="https://raw.githubusercontent.com/gobuffalo/buffalo/master/logo.svg" width="360"></p>

<p align="center">
<a href="https://pkg.go.dev/github.com/gobuffalo/buffalo"><img src="https://pkg.go.dev/badge/github.com/gobuffalo/buffalo" alt="PkgGoDev"></a>
<img src="https://github.com/gobuffalo/buffalo/workflows/Tests/badge.svg" alt="Tests Status" />
<a href="https://goreportcard.com/report/github.com/gobuffalo/buffalo"><img src="https://goreportcard.com/badge/github.com/gobuffalo/buffalo" alt="Go Report Card" /></a>
<a href="https://pkg.go.dev/github.com/dmuriel/buffalo"><img src="https://pkg.go.dev/badge/github.com/dmuriel/buffalo" alt="PkgGoDev"></a>
<img src="https://github.com/dmuriel/buffalo/workflows/Tests/badge.svg" alt="Tests Status" />
<a href="https://goreportcard.com/report/github.com/dmuriel/buffalo"><img src="https://goreportcard.com/badge/github.com/dmuriel/buffalo" alt="Go Report Card" /></a>
<a href="https://www.codetriage.com/gobuffalo/buffalo"><img src="https://www.codetriage.com/gobuffalo/buffalo/badges/users.svg" alt="Open Source Helpers" /></a>
</p>

Expand Down
4 changes: 2 additions & 2 deletions SHOULDERS.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# github.com/gobuffalo/buffalo Stands on the Shoulders of Giants
# github.com/dmuriel/buffalo Stands on the Shoulders of Giants

github.com/gobuffalo/buffalo does not try to reinvent the wheel! Instead, it uses the already great wheels developed by the Go community and puts them all together in the best way possible. Without these giants, this project would not be possible. Please make sure to check them out and thank them for all of their hard work.
github.com/dmuriel/buffalo does not try to reinvent the wheel! Instead, it uses the already great wheels developed by the Go community and puts them all together in the best way possible. Without these giants, this project would not be possible. Please make sure to check them out and thank them for all of their hard work.

Thank you to the following **GIANTS**:

Expand Down
2 changes: 1 addition & 1 deletion binding/binding.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"net/http"
"time"

"github.com/gobuffalo/buffalo/binding/decoders"
"github.com/dmuriel/buffalo/binding/decoders"
"github.com/gobuffalo/nulls"
"github.com/monoculum/formam"
)
Expand Down
6 changes: 3 additions & 3 deletions binding/file_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@ import (
"path/filepath"
"testing"

"github.com/gobuffalo/buffalo"
"github.com/gobuffalo/buffalo/binding"
"github.com/gobuffalo/buffalo/render"
"github.com/dmuriel/buffalo"
"github.com/dmuriel/buffalo/binding"
"github.com/dmuriel/buffalo/render"
"github.com/stretchr/testify/require"
)

Expand Down
2 changes: 1 addition & 1 deletion binding/request_binder.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import (
"strings"
"sync"

"github.com/gobuffalo/buffalo/internal/httpx"
"github.com/dmuriel/buffalo/internal/httpx"
)

var (
Expand Down
2 changes: 1 addition & 1 deletion buffalo.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,4 @@ package buffalo
// this import the package doesn't get vendored
// by go mod vendor or by dep. this import fixes
// this problem.
import _ "github.com/gobuffalo/buffalo/runtime" // Load the runtime package variables
import _ "github.com/dmuriel/buffalo/runtime" // Load the runtime package variables
6 changes: 3 additions & 3 deletions context.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@ import (
"net/url"
"sync"

"github.com/gobuffalo/buffalo/binding"
"github.com/gobuffalo/buffalo/internal/httpx"
"github.com/gobuffalo/buffalo/render"
"github.com/dmuriel/buffalo/binding"
"github.com/dmuriel/buffalo/internal/httpx"
"github.com/dmuriel/buffalo/render"
"github.com/gorilla/mux"
)

Expand Down
8 changes: 4 additions & 4 deletions default_context.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@ import (
"sync"
"time"

"github.com/gobuffalo/buffalo/binding"
"github.com/gobuffalo/buffalo/internal/takeon/github.com/markbates/errx"
"github.com/gobuffalo/buffalo/render"
"github.com/dmuriel/buffalo/binding"
"github.com/dmuriel/buffalo/internal/takeon/github.com/markbates/errx"
"github.com/dmuriel/buffalo/render"
)

// assert that DefaultContext is implementing Context
Expand Down Expand Up @@ -155,7 +155,7 @@ func (d *DefaultContext) Render(status int, rr render.Renderer) error {
// is dependent on the "Content-Type" for the request. If the type
// is "application/json" it will use "json.NewDecoder". If the type
// is "application/xml" it will use "xml.NewDecoder". See the
// github.com/gobuffalo/buffalo/binding package for more details.
// github.com/dmuriel/buffalo/binding package for more details.
func (d *DefaultContext) Bind(value interface{}) error {
return binding.Exec(d.Request(), value)
}
Expand Down
2 changes: 1 addition & 1 deletion default_context_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import (
"sync"
"testing"

"github.com/gobuffalo/buffalo/render"
"github.com/dmuriel/buffalo/render"
"github.com/gobuffalo/httptest"
"github.com/gobuffalo/logger"
"github.com/stretchr/testify/require"
Expand Down
6 changes: 3 additions & 3 deletions errors.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@ import (
"sort"
"strings"

"github.com/gobuffalo/buffalo/internal/defaults"
"github.com/gobuffalo/buffalo/internal/httpx"
"github.com/gobuffalo/buffalo/internal/takeon/github.com/markbates/errx"
"github.com/dmuriel/buffalo/internal/defaults"
"github.com/dmuriel/buffalo/internal/httpx"
"github.com/dmuriel/buffalo/internal/takeon/github.com/markbates/errx"
"github.com/gobuffalo/events"
"github.com/gobuffalo/plush/v4"
)
Expand Down
2 changes: 1 addition & 1 deletion errors_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ func Test_PanicHandler(t *testing.T) {
{"/error", "error boom"},
}

const stack = `github.com/gobuffalo/buffalo.Test_PanicHandler`
const stack = `github.com/dmuriel/buffalo.Test_PanicHandler`

w := httptest.New(app)
for _, tt := range table {
Expand Down
2 changes: 1 addition & 1 deletion flash_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"net/http"
"testing"

"github.com/gobuffalo/buffalo/render"
"github.com/dmuriel/buffalo/render"
"github.com/gobuffalo/httptest"
"github.com/stretchr/testify/require"
)
Expand Down
2 changes: 1 addition & 1 deletion handler.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ package buffalo
}
func (c Context) error {
return c.Redirect(http.StatusMovedPermanently, "http://github.com/gobuffalo/buffalo")
return c.Redirect(http.StatusMovedPermanently, "http://github.com/dmuriel/buffalo")
}
func (c Context) error {
Expand Down
2 changes: 1 addition & 1 deletion internal/httpx/content_type.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"net/http"
"strings"

"github.com/gobuffalo/buffalo/internal/defaults"
"github.com/dmuriel/buffalo/internal/defaults"
)

func ContentType(req *http.Request) string {
Expand Down
2 changes: 1 addition & 1 deletion internal/takeon/github.com/gobuffalo/syncx/README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<p align="center"><img src="https://github.com/gobuffalo/buffalo/blob/master/logo.svg" width="360"></p>
<p align="center"><img src="https://github.com/dmuriel/buffalo/blob/master/logo.svg" width="360"></p>

<p align="center">
<a href="https://godoc.org/github.com/gobuffalo/syncx"><img src="https://godoc.org/github.com/gobuffalo/syncx?status.svg" alt="GoDoc" /></a>
Expand Down
6 changes: 3 additions & 3 deletions mail/README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# github.com/gobuffalo/buffalo/mail
# github.com/dmuriel/buffalo/mail

This package is intended to allow easy Email sending with Buffalo, it allows you to define your custom `mail.Sender` for the provider you would like to use.

Expand All @@ -18,11 +18,11 @@ import (
"log"
"net/http"

"github.com/gobuffalo/buffalo/render"
"github.com/dmuriel/buffalo/render"
"github.com/gobuffalo/envy"
"github.com/gobuffalo/packr/v2"
"github.com/gobuffalo/plush"
"github.com/gobuffalo/buffalo/mail"
"github.com/dmuriel/buffalo/mail"
"errors"
"gitlab.com/wawandco/app/models"
)
Expand Down
4 changes: 2 additions & 2 deletions mail/mail.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ import (
"context"
"sync"

"github.com/gobuffalo/buffalo"
"github.com/gobuffalo/buffalo/render"
"github.com/dmuriel/buffalo"
"github.com/dmuriel/buffalo/render"
)

// NewMessage builds a new message.
Expand Down
4 changes: 2 additions & 2 deletions mail/mail_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ import (
"net/http"
"testing"

"github.com/gobuffalo/buffalo"
"github.com/gobuffalo/buffalo/render"
"github.com/dmuriel/buffalo"
"github.com/dmuriel/buffalo/render"
"github.com/gobuffalo/httptest"
"github.com/stretchr/testify/require"
)
Expand Down
2 changes: 1 addition & 1 deletion mail/message.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import (

"bytes"

"github.com/gobuffalo/buffalo/render"
"github.com/dmuriel/buffalo/render"
)

//Message represents an Email message
Expand Down
2 changes: 1 addition & 1 deletion mail/smtp_sender.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (
"io"
"strconv"

gomail "github.com/gobuffalo/buffalo/mail/internal/mail"
gomail "github.com/dmuriel/buffalo/mail/internal/mail"
)

//SMTPSender allows to send Emails by connecting to a SMTP server.
Expand Down
6 changes: 3 additions & 3 deletions mail/smtp_sender_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@ import (
"bytes"
"testing"

"github.com/gobuffalo/buffalo/internal/fakesmtp"
"github.com/gobuffalo/buffalo/mail"
"github.com/gobuffalo/buffalo/render"
"github.com/dmuriel/buffalo/internal/fakesmtp"
"github.com/dmuriel/buffalo/mail"
"github.com/dmuriel/buffalo/render"
"github.com/stretchr/testify/require"
)

Expand Down
2 changes: 1 addition & 1 deletion method_override.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package buffalo
import (
"net/http"

"github.com/gobuffalo/buffalo/internal/defaults"
"github.com/dmuriel/buffalo/internal/defaults"
)

// MethodOverride is the default implementation for the
Expand Down
2 changes: 1 addition & 1 deletion method_override_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (
"net/url"
"testing"

"github.com/gobuffalo/buffalo/render"
"github.com/dmuriel/buffalo/render"
"github.com/gobuffalo/httptest"
"github.com/stretchr/testify/require"
)
Expand Down
2 changes: 1 addition & 1 deletion middleware_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"net/http"
"testing"

"github.com/gobuffalo/buffalo/render"
"github.com/dmuriel/buffalo/render"
"github.com/gobuffalo/httptest"
"github.com/stretchr/testify/require"
)
Expand Down
6 changes: 3 additions & 3 deletions options.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@ import (
"net/http"
"strings"

"github.com/dmuriel/buffalo/internal/defaults"
"github.com/dmuriel/buffalo/worker"
"github.com/fatih/color"
"github.com/gobuffalo/buffalo/internal/defaults"
"github.com/gobuffalo/buffalo/worker"
"github.com/gobuffalo/envy"
"github.com/gobuffalo/logger"
"github.com/gobuffalo/pop/v5"
Expand Down Expand Up @@ -122,7 +122,7 @@ func optionsWithDefaults(opts Options) Options {

if len(opts.LogLevel) > 0 {
var err error
oncer.Deprecate(0, "github.com/gobuffalo/buffalo#Options.LogLevel", "Use github.com/gobuffalo/buffalo#Options.LogLvl instead.")
oncer.Deprecate(0, "github.com/dmuriel/buffalo#Options.LogLevel", "Use github.com/dmuriel/buffalo#Options.LogLvl instead.")
opts.LogLvl, err = logger.ParseLevel(opts.LogLevel)
if err != nil {
opts.LogLvl = logger.DebugLevel
Expand Down
2 changes: 1 addition & 1 deletion plugins.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import (
"os/exec"
"strings"

"github.com/gobuffalo/buffalo/plugins"
"github.com/dmuriel/buffalo/plugins"
"github.com/gobuffalo/envy"
"github.com/gobuffalo/events"
"github.com/markbates/oncer"
Expand Down
2 changes: 1 addition & 1 deletion plugins/plugcmds/available.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import (
"io"
"os"

"github.com/gobuffalo/buffalo/plugins"
"github.com/dmuriel/buffalo/plugins"
"github.com/gobuffalo/events"
"github.com/spf13/cobra"
)
Expand Down
Loading

0 comments on commit f8d5899

Please sign in to comment.