Comments (9)
This is at its best, a step back to tgve/eAtlas/master
branch.
from app.
@layik The only problem I'm aware of that tgve/eAtlas/master
had was that it had >200 unpublished commits. (Otherwise I'm unsure what you're referring to.)
One way to focus on whether this makes sense would be to ask ourselves: what would go wrong if we were to merge app
and full-app
? (Maybe there's something I haven't thought of.)
from app.
@layik What you seem to be after might conceivably be addressed by submodules. But even that seems more complicated than what we actually need!
from app.
I am not saying they cannot merge, and no my issue was not > 200 unpublished commits, a branch is published commits for me. The issue was a single repo and relying on branches was not a good case for "modularity". There was also an element of "user" vs "org" space on GH.
A future full-app
is what showcases like saferactive and geopspenser need and not a client app
. Now, back to whether we should merge them, I find it a step back to doing too many different things in the same repo and that could lead to > 10 commit branches.
from app.
I like to keep tgve/app
for its main purpose, a template to publish data using tgvejs on github pages. In fact, in saferactive project, we find both use cases:
from app.
Can I be clear @rolyp and team, I am concerned more about keeping app
"clean" right now.
from app.
Ok, thanks for clarifying what you meant about master
. Also I agree we should support the “hosting instance” idea as a primary use case for app
. What we need to be careful of is duplication (copy and paste) for the sake of supporting different scenarios, as we had with e.g. master
and npm
.
A copy of a repo is really just copy-and-paste by another route, and it’s certainly confusing to have two repos that differ only by the inclusion of some small files. On the other hand, supporting multiple scenarios (e.g. Python development, Docker development, and plain old hosting) in a single repo is harmless, and standard practice.
from app.
@layik Relatedly, we should probably ask ourselves: what actually depends on the existence of the following files:
nodejs/server.js
R/plumber.R
run.R
Dockerfile
tgve.py
andtgve-cors.py
given that if we deleted them, the build/deploy workflow for full-app
would still succeed. It would be good to get clear onwhat these files are actually for and how to verify that they do something sensible.
from app.
@layik wrote on Slack:
Right, should we define what app does before we agree on the merger?
So far it (app) does:
A1. template to publish data using tgve on GH pages
A2. used as remote instance
A3. used as build workflow of tgver.
A4. as the only showcase for docs in tgvejs
A5. as the workflow for developing tgvejs
A6. not sure if there is more?What we are trying to add to it:
B1. notebook documentation?
B2. full stack template to publish data on own server
B3. anything else?
B1 goes nicely with A1 & A2, if I ever want to use a notebook with TGVE (which seems likely). So that dispenses with B1. Let's assume B3 is "no", leaving us with B2.
If B2 is a scenario we wish to support (via both R and Python), then I suggest the following:
- treat them as use cases of
app
(since it's fine and indeed common for a single app or component to have multiple usage modes) - implement two bits of CI, one for R and one for Python, which validate these use cases
Then a user of the app is free to use it "as is" or to adapt the CI for R/Python to host their own data (if I'm understanding what you mean by "full stack" correctly).
from app.
Related Issues (19)
- Sync `homepage` with `history` API HOT 1
- Migrate away from geoplumber HOT 1
- Hosted instance workflow HOT 2
- nbval test
- Weekly build HOT 2
- Fix repo rename issues & update docs HOT 2
- Ignore README changes in actions
- Pushing to branch doesn't trigger build
- Move to `full-app`
- Consolidate Flask documentation
- Webserver produced by Flask script fails with syntax error in `[...].chunk.js` file HOT 8
- Executable docs for R app hosting HOT 2
- Actions does not run when template is forked HOT 3
- Delete or verify `reproducible.Rmd`
- UI testing strategy
- Image snapshot testing with Puppeteer HOT 3
- Add data source to last build in actions
- Fix e2e testing HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from app.