-
Notifications
You must be signed in to change notification settings - Fork 203
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
Migrate to monorepo #81
Comments
Some points from this article
|
+1 for mono. I’ve been writing many scripts, or long command line commands with gnu parallel or xargs just to get the code up and running on a new machine. I created my own “common” polis directory to synchronize .env and polis.config files. (Which, as far as I have seen never have had to diverge. As far as tracking branches, git supports hierarchical branch names, and by convention, most pull requests can be localized in a single microservice: Polis/server/fargate Etc. Q |
Migrating from https://github.com/pol-is/polis-issues/issues/128#issuecomment-611537979
+1
+1 on that being in readme Ok, so we've now got a shared space we can "bless" as the place we're working together for the next little bit! In @crkrenn note that I've renamed your |
If this looks good for initial sign off, then we can start making other changes via PRs against To be clear, my understanding is that after we agree and close this kickoff issue, we'll only be working through PRs, right? No pushing directly to And the goal of EDIT: E.g. rest of changes through quick PRs like this pol-is-trial-balloon#1 |
@patcon and @metasoarous, what do you see as necessary changes to pol-is-trial-balloon/monorepo before opening a pull request to pol-is/polisServer dev? A proposal:
Since neither @urakagi or I can deploy an unmodified https://github.com/pol-is/polisServer/tree/master now, I think it is really for @metasoarous to define the requirements to be met before a move from Thoughts? |
I'm planning to write a readme/jupyter notebook for dev installation. I would also request to merge polis deploy into the monorepo. Any code in deploy will need to access admin, server, etc. and, in my mind, adds unnecessary complexity. |
(1) def in no rush to move to working from upstream (2) i. ii. 👍 iii. iv. eager for them, but happy for later merge too (3) (5) branch-specifics aside, tagging sounds fine to me!
Sure.
Already done :) It was just a readme that's now in I've extracted the tasks you mentioned into separate issues, linked above. @crkrenn oh hey, just realized: the [undeclared] success criterion of this issue in my mind was "new directory structure for monorepo exists, in a repo where we can work confidently", and i think that might be done. If we'd like more discussion to happen here (which is a-ok), might you be able to suggest a new "success criteria" for this issue, so that we know when the issue's met its purpose? Because CLOSING THINGS FEELS GREAT 🎉 |
@patcon and @metasoarous,
|
Ok, I suppose let's wait on a maintainer response :) I def feel all our pet concerns can be accommodated. This also seems a decent candidate for quickly hashing out on the next call |
Hi folks! Thanks so much for pushing this forward! I'm all for merging into a My only critique so far on the repo: I'd rather the I'm also all for getting the configuration centralized in config files. Doesn't necessarily have to happen before merging to a Note that supporting heroku deploy may be a bit challenging given the monorepo approach. Also, heroku only really supports env var configuration AFAIA, so we'll either need mixed config support (with heavy recommendations for file based config where possible). I'm in support though if those issues can be addressed reasonably. I'm not sure why we'd want a Jupyter notebook for dev installation README. Seems like just another md would be fine. Am I missing something @crkrenn? I think it would be nice to get things running smoothly before merging dev to master. I realize this gives time for divergence, but we're not editing a lot of code at the moment, so I'm not super worried about that being a challenge. Please let me know if I missed anything here. Thanks again! |
+1 on kebab-case. sounds good on ps, heroku buildpacks exist to work fine with various monorepo/subdir formats fwiw (we can kick that convo to later) |
Are you only merging the main repo, or including my modifications on like https://github.com/PDIS/polisServer/tree/local-polis or https://github.com/PDIS/polisClientAdmin/tree/local-polis and so on? |
I'm heading out the door and will respond more fully later. @urakagi, I'd very much like to merge PDIS mods. It might be second release after a working monorepo. |
@metasoarous, Thanks for the review!
I like kebab too (if needed). I would propose "polis-code", "admin", and "participation".
I'm shooting for ".env" and "polis.config.js" for the first release
My priorities are 1) ubuntu & 2) docker. According to @patcon, heroku is possible if there is a volunteer.
I already realized that Jupyter was overkill. Right now, I'm working on one markdown file, one config file, one install script, & one run script.
Agreed. Since there is not a lot of current activity on master, merging master changes to dev shouldn't be a problem. |
Can this issue be migrated to polis-issues? |
Inspired me to spawn: https://github.com/pol-is/polis-issues/issues/134 |
would be really excited to see your work merged in near future @urakagi :)
prev client <=> server namespace feels helpfully descriptive to me |
Oh; One more thing. Colin and I both feel strongly on the main repo being just Thanks everyone! |
Ah ok, perf! I'm down for doing this first. Issue for tracking that PDIS work is here https://github.com/pol-is/polis-issues/issues/138, if we want to do it in small units with any required review/convo (instead of giant PRs of pol-is/polisClientParticipation#44 (comment) As for this ticket, going to review this ticket to extract any loose todos, then close it |
ok, re-read this, and seems most everything (config, heroku, etc.) is already repped elsewhere -- spawned a new one to sorted tagging strategy convo: #66 Closing 🎉 yay |
Hi folks!
Has this been in the conversation before? I usually like separation, but I wonder if the fragmentation is making it harder for people who don't already understand the codebase to feel like they have a handle on what's happening.
Would it make sense to consider using a mono repo for now, to ensure all the various support scripts and environment variables and docs etc are available in one place? Could just be a quick subtree merge for now, with nothing materially changing :)
Thanks for considering! I hope you're all well!
The text was updated successfully, but these errors were encountered: