Gitea: go-bindata is no longer maintained

Created on 15 Jun 2018  路  13Comments  路  Source: go-gitea/gitea

go-bindata is no longer maintained as stated here: https://github.com/jteeuwen/go-bindata#warning

We should replace it with a maintained alternative like packr.

kinbuild revieweconfirmed

All 13 comments

But maybe continue with https://github.com/go-bindata/go-bindata ?

I don't like packr build.

@lunny You don't need to run packr build, you could (like we do now with go-bindata) run packr followed by go build :|

And there is another maintained alternative: https://github.com/rakyll/statik

I would suggest fileb0x

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs during the next 2 weeks. Thank you for your contributions.

https://github.com/mjibson/esc is simple to use.

Esc doesn't support tags, tags are required for gitea.

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs during the next 2 weeks. Thank you for your contributions.

Just found https://github.com/shurcooL/vfsgen, I think it maybe a better solution than others because it's a library and could be put in vendor and will resolve package dependency on building process. We can write a command with a special build flag which will only be run on build process.

@lunny I tested it a bit some time ago and it does looks quite good: https://github.com/lafriks/gitea-rewrite-experiment/tree/master/modules/template

I'm using filb0x so far for other projects which is working really good.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

flozz picture flozz  路  3Comments

BRMateus2 picture BRMateus2  路  3Comments

internalfx picture internalfx  路  3Comments

Fastidious picture Fastidious  路  3Comments

lunny picture lunny  路  3Comments