Giter VIP home page Giter VIP logo

Comments (7)

grosser avatar grosser commented on August 24, 2024

try clearing the cache of that repo so it does a clean checkout
(go into the the samson host and delete the directory, it will be inside cached_repos directory)

from samson.

dimmaski avatar dimmaski commented on August 24, 2024

Thank you for the tip @grosser! I've tried that but without luck, still can't change the Repository url config at the project level, git checkouts function properly, Github is automatically redirecting some of the requests from the old org to the new org.

from samson.

grosser avatar grosser commented on August 24, 2024

try using a url that does not involve redirects, that might be causing the issue
try running this on the samson host and see if it works:

https://github.com/zendesk/samson/blob/ee74690e0740174854fed9cc5b5d801d6e7ce88d/app/models/git_repository.rb#L72

from samson.

dimmaski avatar dimmaski commented on August 24, 2024

That is precisely what I want to do, I want to avoid using the URL pointing to old github organization (which gets redirected), but samson is not allowing me to change the URL.

from samson.

grosser avatar grosser commented on August 24, 2024

from samson.

dimmaski avatar dimmaski commented on August 24, 2024

Is running that command suitable for production? I'm not sure of the impacts it might have. Would it have the same effect to change the URL directly in the database?

from samson.

dimmaski avatar dimmaski commented on August 24, 2024

I changed the DB column directly and it worked, thanks 👍

from samson.

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.