profile
viewpoint
Stanislas Michalak stanislas-m @MolotovTv France https://www.nucorder.fr Gopher. French enthusiast developer.

gobuffalo/buffalo 5945

Rapid Web Development w/ Go

stanislas-m/amqp-work-adapter 11

AMQP worker adapter for Buffalo

stanislas-m/mocksmtp 7

A Mock SMTP for Buffalo

stanislas-m/pongo2buffalo 4

An adapter to use Pongo2 with Buffalo

stanislas-m/libretime-live 1

A proxy cache for LibreTime live tracks

stanislas-m/pop-associations 1

A collection of examples to use Pop associations

stanislas-m/redmine-better-timeentries 1

A redmine plugin to display time entries summaries in man hours

stanislas-m/aldeb-intellij-plugin 0

An intellij plugin to develop on Aldebran robots (NAO/Pepper)

stanislas-m/ansible-role-mysql 0

Ansible Role - MySQL

stanislas-m/ansible-role-openldap 0

OpenLDAP server role

startedbuildpacks/pack

started time in 4 hours

startedcloudquery/cloudquery

started time in 6 hours

PR opened gobuffalo/docs

Update install commands to turn use Go Modules

Update the install command for buffalo to use go modules, this caught me out for quite a while.

+6 -6

0 comment

3 changed files

pr created time in 6 hours

startedhonza/smithy

started time in 6 hours

startedawslabs/aws-lambda-go-api-proxy

started time in 6 hours

startedluniehq/lunie-light

started time in 6 hours

PR opened gobuffalo/validate

Update link for validators
+1 -1

0 comment

1 changed file

pr created time in 7 hours

issue openedgobuffalo/buffalo

too many arguments in call to ConfigPath

Description

I am currently trying to install / build buffalo via go get (I was trying to build with sqlite support but that has no bearing since it does it without too.)

>go get -u github.com/gobuffalo/buffalo/buffalo
# github.com/gobuffalo/buffalo/plugins/plugdeps
go\src\github.com\gobuffalo\buffalo\plugins\plugdeps\plugdeps.go:14:99: too many arguments in call to ConfigPath
        have (*meta.App, error)
        want (meta.App)
go\src\github.com\gobuffalo\buffalo\plugins\plugdeps\plugdeps.go:14:109: cannot use "." (type string) as type here.Info in argument to meta.New
go\src\github.com\gobuffalo\buffalo\plugins\plugdeps\plugdeps.go:21:8: app.WithPop undefined (type meta.App has no field or method WithPop)
go\src\github.com\gobuffalo\buffalo\plugins\plugdeps\plugdeps.go:49:28: app.Root undefined (type meta.App has no field or method Root)
go\src\github.com\gobuffalo\buffalo\plugins\plugdeps\plugdeps.go:63:48: app.Root undefined (type meta.App has no field or method Root)
go\src\github.com\gobuffalo\buffalo\plugins\plugdeps\plugdeps.go:79:26: app.Root undefined (type meta.App has no field or method Root)
go\src\github.com\gobuffalo\buffalo\plugins\plugdeps\plugin.go:15:11: undefined: meta.BuildTags
# github.com/gobuffalo/buffalo/genny/vcs
go\src\github.com\gobuffalo\buffalo\genny\vcs\options.go:21:13: opts.App.IsZero undefined (type meta.App has no field or method IsZero)
go\src\github.com\gobuffalo\buffalo\genny\vcs\options.go:22:12: assignment mismatch: 1 variable but meta.New returns 2 values
go\src\github.com\gobuffalo\buffalo\genny\vcs\options.go:22:23: cannot use "." (type string) as type here.Info in argument to meta.New
# github.com/gobuffalo/buffalo/genny/docker
go\src\github.com\gobuffalo\buffalo\genny\docker\options.go:18:13: opts.App.IsZero undefined (type meta.App has no field or method IsZero)
go\src\github.com\gobuffalo\buffalo\genny\docker\options.go:19:12: assignment mismatch: 1 variable but meta.New returns 2 values
go\src\github.com\gobuffalo\buffalo\genny\docker\options.go:19:23: cannot use "." (type string) as type here.Info in argument to meta.New
# github.com/gobuffalo/buffalo/genny/refresh
go\src\github.com\gobuffalo\buffalo\genny\refresh\options.go:12:13: opts.App.IsZero undefined (type meta.App has no field or method IsZero)
go\src\github.com\gobuffalo\buffalo\genny\refresh\options.go:13:12: assignment mismatch: 1 variable but meta.New returns 2 values
go\src\github.com\gobuffalo\buffalo\genny\refresh\options.go:13:23: cannot use "." (type string) as type here.Info in argument to meta.New
# github.com/gobuffalo/buffalo/genny/mail
go\src\github.com\gobuffalo\buffalo\genny\mail\options.go:19:13: opts.App.IsZero undefined (type meta.App has no field or method IsZero)
go\src\github.com\gobuffalo\buffalo\genny\mail\options.go:20:12: assignment mismatch: 1 variable but meta.New returns 2 values
go\src\github.com\gobuffalo\buffalo\genny\mail\options.go:20:23: cannot use "." (type string) as type here.Info in argument to meta.New
# github.com/gobuffalo/buffalo/genny/resource
go\src\github.com\gobuffalo\buffalo\genny\resource\actions.go:35:13: opts.App.AsWeb undefined (type meta.App has no field or method AsWeb)
go\src\github.com\gobuffalo\buffalo\genny\resource\options.go:24:13: opts.App.IsZero undefined (type meta.App has no field or method IsZero)
go\src\github.com\gobuffalo\buffalo\genny\resource\options.go:25:12: assignment mismatch: 1 variable but meta.New returns 2 values
go\src\github.com\gobuffalo\buffalo\genny\resource\options.go:25:23: cannot use "." (type string) as type here.Info in argument to meta.New
go\src\github.com\gobuffalo\buffalo\genny\resource\options.go:41:13: opts.App.AsAPI undefined (type meta.App has no field or method AsAPI)
# github.com/gobuffalo/buffalo/genny/actions
go\src\github.com\gobuffalo\buffalo\genny\actions\options.go:28:13: opts.App.IsZero undefined (type meta.App has no field or method IsZero)
go\src\github.com\gobuffalo\buffalo\genny\actions\options.go:29:12: assignment mismatch: 1 variable but meta.New returns 2 values
go\src\github.com\gobuffalo\buffalo\genny\actions\options.go:29:23: cannot use "." (type string) as type here.Info in argument to meta.New
# github.com/gobuffalo/buffalo/genny/assets/webpack
go\src\github.com\gobuffalo\buffalo\genny\assets\webpack\options.go:14:13: opts.App.IsZero undefined (type meta.App has no field or method IsZero)
go\src\github.com\gobuffalo\buffalo\genny\assets\webpack\options.go:15:12: assignment mismatch: 1 variable but meta.New returns 2 values
go\src\github.com\gobuffalo\buffalo\genny\assets\webpack\options.go:15:23: cannot use "." (type string) as type here.Info in argument to meta.New
go\src\github.com\gobuffalo\buffalo\genny\assets\webpack\webpack.go:36:14: opts.App.WithYarn undefined (type meta.App has no field or method WithYarn)
go\src\github.com\gobuffalo\buffalo\genny\assets\webpack\webpack.go:67:14: opts.App.WithYarn undefined (type meta.App has no field or method WithYarn)
# github.com/gobuffalo/clara/genny/rx
go\src\github.com\gobuffalo\clara\genny\rx\options.go:22:13: opts.App.IsZero undefined (type meta.App has no field or method IsZero)
go\src\github.com\gobuffalo\clara\genny\rx\options.go:23:12: assignment mismatch: 1 variable but meta.New returns 2 values
go\src\github.com\gobuffalo\clara\genny\rx\options.go:23:23: cannot use "." (type string) as type here.Info in argument to meta.New
# github.com/gobuffalo/buffalo/genny/ci
go\src\github.com\gobuffalo\buffalo\genny\ci\ci.go:30:14: opts.App.WithPop undefined (type meta.App has no field or method WithPop)
go\src\github.com\gobuffalo\buffalo\genny\ci\ci.go:53:79: opts.App.Name undefined (type meta.App has no field or method Name)
go\src\github.com\gobuffalo\buffalo\genny\ci\ci.go:55:67: opts.App.Name undefined (type meta.App has no field or method Name)
go\src\github.com\gobuffalo\buffalo\genny\ci\options.go:26:13: opts.App.IsZero undefined (type meta.App has no field or method IsZero)
go\src\github.com\gobuffalo\buffalo\genny\ci\options.go:27:12: assignment mismatch: 1 variable but meta.New returns 2 values
go\src\github.com\gobuffalo\buffalo\genny\ci\options.go:27:23: cannot use "." (type string) as type here.Info in argument to meta.New

Steps to Reproduce the Problem

  1. install golang 1.15.5 (windows 10)
  2. install GCC
  3. run go get -u github.com/gobuffalo/buffalo/buffalo

Expected Behavior

buffalo to build successfuly and to be able to start a project.

Actual Behavior

Seems to have some deps that are out of sync perhaps, wrong number of args I would presume is because a function signature changed. I'm completely new to buffalo so I'm not sure if I'm missing something obvious though

Info

<details>

NOT APPLICABLE

</details>

created time in 11 hours

startedakirakyle/emacs-webkit

started time in 18 hours

issue commentgobuffalo/buffalo

Assets are returning a 404 when using buffalo dev but not with buffalo build

I think I've found a remediation for when this issue occurs. In order to fix the pathing issue, the packr2 needs to be run from the CLI to force a rebuild of all static assets referenced in the packr assets box in actions/render.go. This seems to happen when there is stopping and starting of buffalo dev/buffalo build. Still not able to point to exactly the pattern happening here, but running packr2 seems to provide a fix whenever it does occur.

brittonhayes

comment created time in 20 hours

startedwgryc/video-input-js

started time in a day

startedalpinejs/alpine

started time in a day

issue commentgobuffalo/buffalo

Buffalo CLI fails to build binary if there is no Grifts package

setting with_grifts = false in config/buffalo-app.toml seems to solve that

paganotoni

comment created time in a day

startedsmallnest/distributed

started time in 2 days

issue openedgobuffalo/pop

(Question) How exclude results from a query?

How I can exclude results from a query? Suppose I have a table of users and I want to get all users except the active one. Is there a function like:

tx.Exclude("id = currentUser.ID").All(&users)

Thanks

created time in 2 days

issue commentgobuffalo/packr

Defaultresolver accesses current directory before box directory

any package level solution

var _box *packr.Box
func init() {
    _, filename, _, _ := runtime.Caller(0)
    _box = packr.New("name", "../../assets/templates") // relative to this file path
    _box.DefaultResolver = &resolver.Disk{Root: path.Clean(path.Join(path.Dir(filename), _box.Path))}
}

that works for me using this box at any level of app entry point

matthijskooijman

comment created time in 2 days

created repositorygopheracademy/with-mdx-remote-app

created time in 3 days

created repositorydgkg/hasher

created time in 3 days

startedaquasecurity/starboard-lens-extension

started time in 4 days

startedfastai/nbdev

started time in 4 days

issue openedgobuffalo/buffalo-pop

Decimal

Hello! How to use decimal type for currency in Buffalo and how to make it work with POP ORM?

created time in 4 days

startedBlackprint/Blackprint

started time in 5 days

startedtapanpandita/pocket

started time in 5 days

startedsamyk/awesome-raspberrypi

started time in 5 days

startedrxhanson/Rectangle

started time in 5 days

created repositorygopheracademy/showrunner-web

created time in 6 days

startedpuneetsl/lotion

started time in 6 days

startedrancher/rio

started time in 6 days

more