New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"[DEPRECATED] generate.Config has been deprecated." message during first install #1461

Closed
frederikhors opened this Issue Nov 19, 2018 · 2 comments

Comments

Projects
None yet
3 participants
@frederikhors

frederikhors commented Nov 19, 2018

Using the same commands of this: #1460

it gives to me this message:

...
create  grifts\db.go
  run  go get github.com/gobuffalo/buffalo-pop
[DEPRECATED] generate.Config has been deprecated.
  Use github.com/gobuffalo/pop/genny/config instead.
...

Why?

Info

### Buffalo Version
v0.13.6

### App Information
Pwd=C:\Users\fred\Desktop\projects\go\src
Root=C:\Users\fred\Desktop\projects\go\src
GoPath=C:\Users\fred\go;C:\Users\fred\Desktop\projects\go;
Name=src
Bin=bin\src.exe
PackagePkg=../../Desktop/projects/Go/src
ActionsPkg=../../Desktop/projects/Go/src/actions
ModelsPkg=../../Desktop/projects/Go/src/models
GriftsPkg=../../Desktop/projects/Go/src/grifts
VCS=
WithPop=false
WithSQLite=false
WithDep=false
WithWebpack=false
WithYarn=false
WithDocker=false
WithGrifts=false
WithModules=false

### Go Version
go version go1.11.2 windows/amd64

### Go Env
set GOARCH=amd64
set GOBIN=
set GOCACHE=C:\Users\fred\AppData\Local\go-build
set GOEXE=.exe
set GOFLAGS=
set GOHOSTARCH=amd64
set GOHOSTOS=windows
set GOOS=windows
set GOPATH=C:\Users\fred\go;C:\Users\fred\Desktop\projects\go;
set GOPROXY=
set GORACE=
set GOROOT=C:\Go
set GOTMPDIR=
set GOTOOLDIR=C:\Go\pkg\tool\windows_amd64
set GCCGO=gccgo
set CC=gcc
set CXX=g++
set CGO_ENABLED=1
set GOMOD=
set CGO_CFLAGS=-g -O2
set CGO_CPPFLAGS=
set CGO_CXXFLAGS=-g -O2
set CGO_FFLAGS=-g -O2
set CGO_LDFLAGS=-g -O2
set PKG_CONFIG=pkg-config
set GOGCCFLAGS=-m64 -mthreads -fno-caret-diagnostics -Qunused-arguments -fmessage-length=0 -fdebug-prefix-map=C:\Users\fred\AppData\Local\Temp\go-build593158554=/tmp/go-build -gno-record-gcc-switches

### Node Version
v10.13.0

### NPM Version
6.4.1

### Yarn Version
1.10.1

### PostgreSQL Version
PostgreSQL Not Found

### MySQL Version
MySQL Not Found

### SQLite Version
SQLite Not Found

### Dep Version
could not find a Gopkg.toml file

### Dep Status
could not find a Gopkg.toml file
@lukasschlueter

This comment has been minimized.

Member

lukasschlueter commented Nov 19, 2018

Good catch!

The soda generator for creating the db config still uses the old generate.Config:

return generate.Config("./database.yml", data)

Maybe you want to have a look at this yourself and open a PR?

@markbates

This comment has been minimized.

Member

markbates commented Dec 10, 2018

This should be fixed in development.

@markbates markbates closed this Dec 10, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment