Comments (3)
Nice catch!
I've been frustrated by this for a long time. Actually your second suggestion solves the first problem. That's what developer mode is all about, in this case the developer will control the updating of git repos. So it would be possible to use a different branch from the master in case of a catalog.
Actually, it is not a necessary condition to have a sub-command to update the catalog. But it would be very convenient for me if there was.
from poco.
Nice hit.
Actually, the application handles two types of repositories.
As a project module in the poco.yaml file. And as a catalog in the configuration.
The problem is that always-update can only be turned off for the project module.
I think that for compatibility you should introduce a new configuration called "catalog-update-mode", which can be "always-update" (default) or "manual". And there should be a command to update the catalog manually.
What do you think?
from poco.
I have several comments. I think the forced updating of the catalogue every time is wrong. I think we agree on that.
Introducing new switches would only complicate a situation that is already difficult.
I think developer-mode should be the main focus of the catalogue update strategy. If it's "true" then it's the developer's responsibility to keep it fresh when he needs it. From experience, weeks pass between catalog updates, while for projext it's minutes or hours. I think that such a default operation would not cause confusion.
If developer-mode is set to "false", then the current operation can remain.
And regardless of these, it should be possible to update the catalogue not with a switch, but defined as a clear new command, if someone still wants to do it manually. For example "poco catalog-update"
What do you think about such a solution?
from poco.
Related Issues (20)
- project description not up to date HOT 2
- Support "-v" shorthand for version HOT 4
- Apple will remove scripting languages (python, ruby, etc).
- New feature: OS executor HOT 8
- [FEATURE REQUEST] Running container in foreground HOT 3
- Fix Python 3.4 build HOT 1
- poco.yml Rx schema
- [FEATURE REQUEST] Pass arbitrary options to the underlying docker-compose commands
- [FEATURE REQUEST] Implement poco run HOT 2
- [FEATURE REQUEST] Run Init containers before a plan HOT 1
- Pass offline option to the containers
- [FEATURE REQUEST] before_script logging HOT 2
- echo after plan started HOT 1
- Disable catalog communication when I not use it
- [FEATURE REQUEST] poco logs follow flag
- [FEATURE REQUEST] poco logs select services to show
- [BUG] version comparison HOT 1
- Project's parent folder cannot be named the same as the project.
- [BUG] New version number
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 poco.