GithubHelp home page GithubHelp logo

Comments (3)

sarkiroka avatar sarkiroka commented on May 30, 2024

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.

gaborkolarovics avatar gaborkolarovics commented on May 30, 2024

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.

sarkiroka avatar sarkiroka commented on May 30, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.