Commit Graph

4476 Commits

Author SHA1 Message Date
Shawn 1dd7acf682
Merge pull request #3886 from zmstone/umbrella-for-430
Umbrella for 430
2020-12-09 10:58:20 +08:00
Zaiming Shi aac3d79b7d fix(build): pre-compile parse_transform modules 2020-12-09 00:28:39 +01:00
Zaiming Shi 80e1d6cc9d chore(apps): delete LICENSE files for apps 2020-12-08 22:28:46 +01:00
Zaiming Shi 084ce97d41 fix(rel): rel_vsn renamed to release_version 2020-12-08 22:28:46 +01:00
Zaiming Shi 6d1cd6b7ea refactor(emqx_password): move the module to emqx application
Future plugins will require emqx as a dependency.
This commit also brings back bcrypt to the system which was temporary
removed when converting to umbrella project
2020-12-08 22:09:59 +01:00
Zaiming Shi 7fdbfba06a Merge branch 'umbrella-for-430-auto-sync' into umbrella-for-430 2020-12-08 22:09:59 +01:00
Zaiming Shi 2fda0a1565 chore(apps): Sync again all apps 2020-12-07 21:30:21 +01:00
Zaiming Shi f2aede75cb refactor(script): Use sh not bash 2020-12-07 21:21:17 +01:00
Zaiming Shi 8fe889dd14 refactor(rebar.config): make use of rebar.config.erl 2020-12-06 23:38:14 +01:00
Zaiming Shi a6fde38d45 chore(bbmustache): upgrade to 0.10.0 as what rebar3 uses 2020-12-06 16:06:04 +01:00
Zaiming Shi 9ecc669f14 chore(rebar3): Upgrade to rebar3 3.14.3-emqx-1 2020-12-06 14:57:51 +01:00
Zaiming Shi 82c14c75e2 refactor(build): Delete _checkouts
The `_checkouts` directory was handy when we had to git clone
rebar dependencies in a release project and make changes inside

Now since this is an umbrella project, there is no reason to keep it
2020-12-05 19:48:44 +01:00
Zaiming Shi 036eda27f6 chore(rebar): Delete profiles from apps' rebar.config
otherwise rebar3 crashes
2020-12-05 13:36:56 +01:00
Zaiming Shi 9dc68bc18d chore(emqx_exhook): Delete old app.src file 2020-12-05 03:04:33 +01:00
Zaiming Shi db792ec577 chore(apps): Sync again with 4.3.0 2020-12-05 03:02:35 +01:00
Zaiming Shi 8a12018863 Add more cleanups 2020-12-05 02:45:01 +01:00
Zaiming Shi 0fb5fb31a5 refactor(proj) sync 4.3.0 plugins with tracked files 2020-12-05 02:43:04 +01:00
Zaiming Shi 686c006d6e refactor(proj): Add apps 2020-12-04 22:11:53 +01:00
Zaiming Shi 73d02beace refactor(apps): Merge emqx_libs back to emqx
And move emqx app back to root level

After realising the challenges of developing plugins in standalone
rebar projects. it is perhaps more smooth to keep using emqx as
a rebar dependency
2020-12-04 19:58:58 +01:00
Zaiming Shi 2cbd2bc800 chore(app.src): use semver 4.3.0 for apps version base 2020-12-03 19:59:41 +01:00
Zaiming Shi 9382bed9f5 refactor(proj): Move etc and data dir to apps/emqx/ 2020-12-03 12:53:02 +01:00
Zaiming Shi 41118f5d6b fix(rebar.config.script): do not write rendered rebar.config to file 2020-12-03 12:53:02 +01:00
Zaiming Shi 1b963252cf fix(rebar.config.script): wildcard path to mods dir
This is to allow using emqx in another project
2020-12-03 12:53:02 +01:00
Zaiming Shi e236196fa6 refactor(emqx_auth_mnesia): use tag e4.2.2
Removed emqx_auth_clientid and emqx_auth_username
because the new version emqx_auth_mnesia has all the features included
2020-12-03 12:52:59 +01:00
Zaiming Shi 5f0f91bb15 Merge branch 'dev/v5.0' into umbrella-for-430 2020-12-02 17:37:34 +01:00
Zaiming Shi ba204b5ab8 chore(build): update rebar3 version 2020-12-02 17:06:26 +01:00
Zaiming Shi 87bd4958fe
Merge pull request #3863 from zmstone/fix-remove-trailing-line-break-in-version
fix(build): clean up versioning
2020-12-02 09:35:18 +01:00
Zaiming Shi e0123574ed refactor(build): Ensure depth 1 git clone 2020-12-02 00:06:12 +01:00
Zaiming Shi 5bb0cccb53 refactor(build): Clean up app version management
Starting from 5.0.0, all apps in apps dir should follow semver
strictly. Do not use the umbrella project's release tags.

The universal tags made sense when we have applications scattered
in different repos. Now since this is an umbrella project, it is
enough to have a single package level version number corelated with
git tag.
2020-12-01 23:22:33 +01:00
Zaiming Shi 50387eab11 fix(build): remove trailing line-break in version 2020-12-01 21:23:39 +01:00
Zaiming Shi e2c472ae84
Merge pull request #3860 from zmstone/refactor-build-download-from-github-release
refactor(build): download rebar3 from GitHub release
2020-12-01 14:58:13 +01:00
Zaiming Shi cafa547996 refactor(build): Get rebar3 version from escript header comments
The command rebar3 --version loads rebar config and prints logs
2020-11-30 19:48:31 +01:00
Zaiming Shi 4e755d80db refactor(build): Download rebar3 from github release 2020-11-30 19:48:02 +01:00
Zaiming Shi 12d706a84c
Merge pull request #3852 from zmstone/feat-add-build-stamp
Feat support build stamp and more fixes
2020-11-28 07:37:22 +01:00
Zaiming Shi dab57b0f0f chore(build): Update rebar3
This rebar3 puts a stamp to app build output dir
skips re-build if alreay built
2020-11-27 21:41:11 +01:00
Zaiming Shi 36c9360c04 refactor(build): Merge all plugins
Otherwise rebar runs in a dead-loop
2020-11-27 01:03:40 +01:00
Zaiming Shi a6566962e0 refactor(build): simplify version resolution 2020-11-27 01:03:40 +01:00
Zaiming Shi 1503cf5850 chore(git): update git ignore 2020-11-27 00:30:00 +01:00
Zaiming Shi 2dce1883d5 refactor(build): Deterministic code generation
The rebar plugin grpcbox_plugin always re-generates modules with a
timestamp, which makes the stamping script to always result in a
new stamp after each build.

Issue has been sent
https://github.com/tsloughter/grpcbox_plugin/issues/12
2020-11-26 21:13:30 +01:00
Zaiming Shi 096e27dcd0
Merge pull request #3838 from zmstone/fix-boot-add-data-dir
fix(boot): Add data dir
2020-11-23 16:49:36 +01:00
Zaiming Shi 0a99cd9b3a fix(boot): Add data dir
This is a copy from emqx-rel project
2020-11-21 20:22:25 +01:00
zhanghongtong cf7c3b4f0c fix(appup): fix syntax error 2020-11-13 17:40:36 +08:00
zhanghongtong 253c43e405 feat(emqx_metrics): add new functions to count message received 2020-11-13 16:42:48 +08:00
Zaiming Shi 380c874fb5
Merge pull request #3808 from zmstone/improve-speed-average
refactor(metrics): Use modified moving average for topic metrics speed
2020-11-12 12:46:59 +01:00
ayodele.akingbule 4eef9f691e refactor(metrics): Add short, medium and long windowsize and expose stats 2020-11-12 12:43:31 +01:00
Zaiming Shi abb74056bd refactor(metrics): Use modified moving average for topic metrics speed 2020-11-12 12:40:36 +01:00
terry-xiaoyu e586119752 fix(project): point the hrl files to emqx_lib 2020-10-31 12:34:52 +08:00
terry-xiaoyu 20b66e03a1 feature(project): add etc/emqx.d 2020-10-31 12:18:38 +08:00
terry-xiaoyu 0cd1c57a54 Migrate plugins from tag 4.2.2 2020-10-31 12:10:19 +08:00
terry-xiaoyu 4108662ba1 feature(project): add util app emqx_libs 2020-10-31 12:06:44 +08:00