1
0
mirror of https://github.com/beego/bee.git synced 2024-12-22 15:10:49 +00:00
Commit Graph

80 Commits

Author SHA1 Message Date
yitea
8758f6eaa1 beego pro init 2020-07-04 22:58:03 +08:00
qiantao
9433a7b66f 1. new,api,hprose 命令增加两个参数 [-module=true] [-beego=v1.12.1] 用于生成go module项目
2. generate,migrate命令不再打印GOPATH.
3. pack命令排除。
4. run命令支持传递ldflags参数
5. fix watch file bug.ignoredFilesRegExps数组对每个文件增加$,防止目录存在tmp的情况
6. getPackagePath函数被调用时如果找不到GOPATH,则看看工程有没有go.mod 有就当做go module项目处理。
7. .travis.yml检查时排除/pkg/mod/目录
2020-06-25 22:29:27 +08:00
Waleed Gadelkareem
ad695cd8c6 Merge branch 'develop' of github.com:beego/bee into develop
# Conflicts:
#	cmd/commands/dlv/dlv_amd64.go
#	go.mod
#	go.sum
2020-06-20 11:58:52 +02:00
askuy
8ebb7977f9 bee update version 2020-06-20 12:26:28 +08:00
yitea
f7419c24fc update delve version 2020-06-20 11:13:58 +08:00
Waleed Gadelkareem
f5cc7abe8d fix: Fix github.com/go-delve/delve upgrade error 2020-06-19 20:02:57 +02:00
Waleed Gadelkareem
b1dbdd023c fix: Fix github.com/go-delve/delve import error and add go mod 2020-06-19 17:15:22 +02:00
Faissal Elamraoui
6a86284cec
Merge pull request #586 from cjereme/fix/infosec-output-security
Fixes #536
2019-04-11 07:34:49 +02:00
CodeLingoBot
4562f47f4d Fix function comments based on best practices from Effective Go
Signed-off-by: CodeLingoBot <bot@codelingo.io>
2019-03-21 16:17:56 +13:00
cjereme
0f9b9ea345 Update loggging information on bee migrate 2019-03-07 22:14:52 -08:00
Faissal Elamraoui
de82e68f73
Merge pull request #544 from dotSlashLu/dev
Introduce new "sqlconn" attribute into app.conf
2019-01-24 22:42:36 +01:00
Faissal Elamraoui
231e90d274 Kill the server process gracefully on Windows
See discussion in pull request #569
2019-01-23 10:21:40 +01:00
Faissal Elamraoui
4b7edb7235
Merge pull request #559 from s00500/develop
Adds  "-dir" option to migrate command to set migrations directory
2019-01-16 07:47:03 +01:00
c5099ba2a0 Update migrate description for dir option 2019-01-15 18:38:10 +01:00
Faissal Elamraoui
d06f56566c
Merge pull request #563 from luhuisicnu/develop
Use quoted strings in bee help api
2019-01-10 08:47:27 +01:00
Faissal Elamraoui
12019e22af
Merge pull request #569 from sangheee/develop
Kill the server process gracefully
2019-01-10 08:30:18 +01:00
Tavee Khunbida
df31f04b26 Fix accidently removed time.Sleep 2019-01-08 22:21:19 +07:00
Tavee Khunbida
d24c05d83e Fix staticcheck failed - should use time.Until instead of t.Sub(time.Now()) (S1024) 2019-01-08 01:03:58 +07:00
Tavee Khunbida
79d6746aa2 Fix staticcheck failed - should use time.Until instead of t.Sub(time.Now()) (S1024) 2019-01-08 01:02:14 +07:00
Tavee Khunbida
19be52dc8c Fix panic on running tests for newly generated project 2019-01-08 00:34:51 +07:00
sanghee
87a287cac2 Remove comments and add error handling 2019-01-04 23:28:36 +09:00
sanghee
8252ea9f88 When restarting, terminate process gracefully 2019-01-04 23:04:38 +09:00
Hank.Lu
babd8d04b4
Update hprose.go
db连接信息使用双引号包含
2018-12-06 15:01:38 +08:00
Hank.Lu
5ba90258a4
Update apiapp.go
db连接信息使用双引号包含
2018-12-06 15:00:12 +08:00
10a2e56df0 Fixing absolute path for dir option of migration 2018-11-12 13:58:15 +01:00
3d977edbb4 Adding dir parameter to migrate command 2018-11-12 13:10:43 +01:00
Franz Wilhelm von der Lippe
6689e25d6f Add support for apps outside of gopath with go modules, fixes #549 2018-10-06 13:35:26 +02:00
dotSlashLu
cb2fae3e68 cmd/api: put sqlconn to app.conf 2018-09-13 16:09:45 +08:00
dotSlashLu
393e315ba5 cmd/new: unify variable naming convention with cmd/api
camelCase should be the standard anyway
2018-09-13 14:51:09 +08:00
astaxie
5ed819a025 version 1.10.0 2018-07-22 12:06:22 +08:00
astaxie
1fb0bebe30
Merge pull request #516 from qida/master
Update ignoredFilesRegExps
2018-07-21 22:59:18 +08:00
astaxie
25a2684240
Merge pull request #522 from lixiangzhong/master
Update watch.go
2018-07-21 22:58:48 +08:00
astaxie
ecd8896cf3
Merge pull request #530 from Medicean/master
fix bee.json & Beefile watch_ext doesn't work
2018-07-21 22:28:38 +08:00
astaxie
a386880832
Merge pull request #537 from wilhelmguo/master
Support extra args to run application.
2018-07-21 22:27:53 +08:00
Codeb Fan
cd82742af9 Support extra args to run application. 2018-06-26 18:07:49 +08:00
Medicean
25063a62c4 fix bee.json & Beefile watch_ext doesn't work 2018-06-11 18:01:35 +08:00
qida
c1896dd4cf
Update ignoredFilesRegExps
解决了在执行 `bee run -gendoc=true` 时,更新`commentsRouter_controllers.go`文件导致多次触发"build"的bug。
2018-03-27 15:08:24 +08:00
lixz
5ba8b15e3a
Update watch.go
在window编译linux后,bee run 执行的appname为linux的可执行文件
2017-12-29 17:09:02 +08:00
astaxie
4ab8b8e30e bee 1.9.1 2017-11-27 15:51:51 +08:00
Haojin Gui
f8e9f67ae6 Add empty line. 2017-10-20 23:32:13 -07:00
TankTheFrank
c34cb05355 after build the browser is refreshed 2017-10-19 14:23:08 +03:00
Adrian Ancona Novelo
52e3087bb4 Only import the correct driver when doing a migration. Fixes #447 2017-09-25 10:48:08 +08:00
asta xie
ceefd74c9b v1.9.1 2017-09-12 21:23:20 +08:00
astaxie
b65934a764 v1.9.0 2017-07-19 00:28:53 +08:00
astaxie
3523212500 bee add subcommand server 2017-07-19 00:28:12 +08:00
Gnanakeethan Balasubramaniam
ea63bf253e
UPDATE: creating ddl migration spec is now possible
SUMMARY: The DDL migration can now be generated by adding a `-ddl` and a
proper "alter" or "create" as argument value.

Migration generation had been modified to accommodate the complementary
code for ddl generation

Signed-off-by: Gnanakeethan Balasubramaniam <gnanakeethan@gmail.com>
2017-07-13 20:30:06 +05:30
astaxie
0d0e583346 v1.8.4 2017-05-18 22:58:13 +08:00
astaxie
e1f3353511 add ineffassign check 2017-04-28 22:53:38 +08:00
astaxie
1cc7abaac6 fix gosimple 2017-04-24 21:45:27 +08:00
astaxie
963e1c9d05 bee 1.8.3 2017-04-24 21:11:32 +08:00