Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Replace Desktop Build Infrastructure with CLI Tool #526

Closed
wants to merge 76 commits into from

Conversation

garrettmflynn
Copy link
Member

@garrettmflynn garrettmflynn commented Nov 23, 2023

This PR introduces a CLI tool I've been working on called commoners that would let us build applications like the NWB GUIDE on the same infrastructure without copying code into different repos.

With this PR, files that are not related directly to our frontend or Flask server (e.g. Electron main and preload processes that manage windows and servers) have been removed since their features are now handled by the CLI. While analogous code is still included in the final build, it's worth noting that the final .dmg for Mac is nearly half the size of the current main branch build (395 MB vs. 685 MB).

As I've been working on this tool on my own time, I've been motivated by how it might help CN and other collaborators produce apps like the GUIDE faster, without the pains we faced when determining the parts of SODA to include or remove.

Using commoners for the GUIDE would be a great test case to run the CLI through its paces—though I also understand it may be out of scope.

Let me know your thoughts!

@garrettmflynn
Copy link
Member Author

If it makes more sense, I can also roll back to before the code organization changes (c70390b) so the changelog is simplified.

@CodyCBakerPhD
Copy link
Collaborator

@garrettmflynn Are we good to close?

@garrettmflynn
Copy link
Member Author

Yeah looks like we'll stick with our current solution.

@CodyCBakerPhD CodyCBakerPhD deleted the commoners branch April 11, 2024 02:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants