[Discussion] New build system
Type: other
Important features:
- [ ] Builds are reproducible.
- [ ] Runs at least on latest version of Windows 10, Ubuntu and macOS.
- [ ] Runs faster than the current build system.
Desired features:
- [ ] Based on Node.
- [ ] Runs everywhere Node does.
Thanks! Your edit helped me out. I'll take it from here now.
ping @Hainish @cowlicks @jeremyn @gloomy-ghost.
@koops76 I'm wondering what the motivation is here. Are you looking for a way to personally contribute something big to the project and want to focus on this? Or have there been recent build problems you want to fix?
The build process seems mostly okay to me. It's not the highest priority problem we have. It could definitely be improved though.
@jeremyn The current process is tied to Linux, not very fast and the builds are not reproducible.
@jeremyn Recently we have switched to WebExtensions too.
@koops76 the builds are reproducible from one run to another locally - this is one of the reasons for the inclusion of utils/zipfile_deterministic.py in the repo. If they are not reproducible from one build environment to another, this should be investigated as some source of entropy is leaking into the project somewhere (perhaps a .gitignore'd file is sneaking into the build)
@Hainish I would like to replace the current build system with a Gulp or Webpack based one, this is what this issue is about. Either of these supports building CRX files and reproducible builds.
Also I would like proper support for NPM dependencies.
This set of requirements is particular to this contributor. They have removed their account. Closing.
@Hainish I agree with closing this issue since the contributor has closed their account. However, I think we agree with some of their suggestions as wishlist items, like converting the build system to Node, and it might be worth adding them to whatever wishlist roadmap exists, or making such a roadmap. But there's no need to discuss that further here.