Giter Club home page Giter Club logo

Comments (5)

earwig avatar earwig commented on July 1, 2024 2

That seems fair. I'll see what I can do.

from git-repo-updater.

a-b avatar a-b commented on July 1, 2024 1

I think I can do exclusion patterns using regular unix tools or zsh wildcard extensions.
I'm trying to cover situation when one of the repos in the directory has some problems or errors and git return error:

web:                                                                                              │
        Error: no remotes configured to pull from.

In this case I want to have a flag which will gracefully skip this repo and continue to update other git repos.

from git-repo-updater.

earwig avatar earwig commented on July 1, 2024

Not sure how that would work. What sort of broken repos could it detect? I'm not sure what outdated auth means in this case.

Or are you just looking for a way to specify exclusion patterns? That sounds doable.

from git-repo-updater.

earwig avatar earwig commented on July 1, 2024

I don't understand. gitup doesn't stop updating just because one repo has an error. Can you check again?

Edit: Never mind, I get it.

from git-repo-updater.

romeojulietthotel avatar romeojulietthotel commented on July 1, 2024

This is really a bug, right?

The problem can occur in two ways (at least on github):

  • A previously public repo is now private
  • A previous repo has been deleted

Both cases cause github to ask for a username/password as part of github authentication. They don't want to leak information about private repos.

I hit enter twice to get past this but that means that gitup can no longer be run from cron with the expectation of having all local repos get updated. It now requires human interaction because it blocks on wating for the username/password or htting enter twice.

I looked for some way using native git to get around this problem but couldn't find a way.

from git-repo-updater.

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.