Giter Club home page Giter Club logo

Comments (18)

stp-ip avatar stp-ip commented on August 19, 2024 2

Thanks for keeping the ball rolling. Looking forward to the next iteration.

from git-sync.

emirozer avatar emirozer commented on August 19, 2024

Hey @andjelx are you working on this ?

I just started doing it today because, well having a very similar usecase..
https://github.com/emirozer/git-sync/commit/5aaffadae52ee201ff40dc78704373453ec12880
Its initial work only at the moment, so I'm gonna test & see if i can add something to the testing process about the hook as well. Do let me know if you already made progress?

from git-sync.

andjelx avatar andjelx commented on August 19, 2024

Actually I made it, it’s in my fork, but haven’t received any feedback here to raise a PR :(

from git-sync.

emirozer avatar emirozer commented on August 19, 2024

People are busy I guess :) why not raise the PR and discuss there, since it is going the be a very small change-set without side-effects to actually syncing ?

Ofc I'm not a maintainer so, no disrespect 🍻

from git-sync.

andjelx avatar andjelx commented on August 19, 2024

Initiated: #85

from git-sync.

stp-ip avatar stp-ip commented on August 19, 2024

Commented on the PR. Future feature issues might take a bit longer to respond due to priorities.

from git-sync.

thockin avatar thockin commented on August 19, 2024

Sorry, it's been a hellish few weeks for me. Will look at the PR. In general I don't have a problem with this, but I'd prefer fewer flags. What about something like --webhook='{"url": "http://localhost:1234/reload", method="POST", success=200}' - that block can be parsed as JSON, with unspecified keys having default values.

Unclear if success should be a specific code or a range.

from git-sync.

andjelx avatar andjelx commented on August 19, 2024

@thockin
Your flags approach a good idea, but I just followed the same approach as in original code + technically passing ENV vars might be easier to use with K8 Deployments.

For now: success code is one code (not a range)

from git-sync.

andjelx avatar andjelx commented on August 19, 2024

@thockin What if we would go with existing approach with flags, then migrate to your approach ?

from git-sync.

stp-ip avatar stp-ip commented on August 19, 2024

@andjelx that would already introduce them to the user and make the "upgrade" not backwards compatible.

from git-sync.

andjelx avatar andjelx commented on August 19, 2024

@stp-ip good point... I need then to dig more into Go then (as mostly on Python) how to process JSONs

from git-sync.

andjelx avatar andjelx commented on August 19, 2024

@stp-ip, @thockin I have updated PR. Could you please have a look?

from git-sync.

fejta-bot avatar fejta-bot commented on August 19, 2024

Issues go stale after 90d of inactivity.
Mark the issue as fresh with /remove-lifecycle stale.
Stale issues rot after an additional 30d of inactivity and eventually close.

If this issue is safe to close now please do so with /close.

Send feedback to sig-testing, kubernetes/test-infra and/or fejta.
/lifecycle stale

from git-sync.

andjelx avatar andjelx commented on August 19, 2024

/remove-lifecycle stale

from git-sync.

fejta-bot avatar fejta-bot commented on August 19, 2024

Issues go stale after 90d of inactivity.
Mark the issue as fresh with /remove-lifecycle stale.
Stale issues rot after an additional 30d of inactivity and eventually close.

If this issue is safe to close now please do so with /close.

Send feedback to sig-testing, kubernetes/test-infra and/or fejta.
/lifecycle stale

from git-sync.

fejta-bot avatar fejta-bot commented on August 19, 2024

Stale issues rot after 30d of inactivity.
Mark the issue as fresh with /remove-lifecycle rotten.
Rotten issues close after an additional 30d of inactivity.

If this issue is safe to close now please do so with /close.

Send feedback to sig-testing, kubernetes/test-infra and/or fejta.
/lifecycle rotten

from git-sync.

fejta-bot avatar fejta-bot commented on August 19, 2024

Rotten issues close after 30d of inactivity.
Reopen the issue with /reopen.
Mark the issue as fresh with /remove-lifecycle rotten.

Send feedback to sig-testing, kubernetes/test-infra and/or fejta.
/close

from git-sync.

k8s-ci-robot avatar k8s-ci-robot commented on August 19, 2024

@fejta-bot: Closing this issue.

In response to this:

Rotten issues close after 30d of inactivity.
Reopen the issue with /reopen.
Mark the issue as fresh with /remove-lifecycle rotten.

Send feedback to sig-testing, kubernetes/test-infra and/or fejta.
/close

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

from git-sync.

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.