Giter Site home page Giter Site logo

Comments (13)

1egoman avatar 1egoman commented on August 16, 2024

@johanneskoester Can you provide more information:

  • What repositories are you trying to link?
  • Can you provide a screenshot?
  • If the save button is disabled, that means you either didn't give the link a name (Biome in the below example), or you didn't configure From or To correctly (if you didn't select a branch on one of the links, then you wouldn't be able to save).

screen shot 2017-03-10 at 6 02 06 am

from server.

johanneskoester avatar johanneskoester commented on August 16, 2024

backstroke-problem

from server.

johanneskoester avatar johanneskoester commented on August 16, 2024

I try to sync to all forks, but the problem is really that I cannot select the master branch. We have branch protection activated (disallowing pushes to master). Could that be the problem?

from server.

1egoman avatar 1egoman commented on August 16, 2024

@johanneskoester Possibly. Let me give it a try on my end.

from server.

1egoman avatar 1egoman commented on August 16, 2024

@johanneskoester

I've tried a few different api calls:

  • curl https://api.github.com/repos/bioconda/bioconda-recipes/branches | grep master - what backstroke does currently behind the scenes.
  • curl -H 'Content-Type: application/vnd.github.loki-preview+json' https://api.github.com/repos/bioconda/bioconda-recipes/branches?protected=true | grep master - with the protected branch api which is in preview.

Neither of them seem to return your master branch. I have another repository of mine that I can't see the master branch on either, and the api returns similar results, and it doesn't use a protected branch, so I doubt that's the issue unfortunately.

A few things that you can do to help:

  • Do either of the above commands return anything if you run them on your end?
  • If you're willing to turn off branch protection temporarily and then give Backstroke a try that'd be a helpful datapoint. (You should be able to turn it back afterwards.)

from server.

johanneskoester avatar johanneskoester commented on August 16, 2024

I just tried. Same results. Also, deactivating branch protection does not help.

from server.

johanneskoester avatar johanneskoester commented on August 16, 2024

Maybe this is about paging? We have a lot of branches...

from server.

johanneskoester avatar johanneskoester commented on August 16, 2024

Yes, that's it. If I add ?per_page=10000 I get the master branch. Maybe you don't properly walk through the pages in your implementation?

from server.

1egoman avatar 1egoman commented on August 16, 2024

@johanneskoester That could be true. Let me take a look.

from server.

1egoman avatar 1egoman commented on August 16, 2024

Yep, that's it. #57 is a short term solution but I'll add a note to do this properly later.

from server.

johanneskoester avatar johanneskoester commented on August 16, 2024

Thanks!

from server.

1egoman avatar 1egoman commented on August 16, 2024

@johanneskoester The hotfix has been pushed, let me know if this solves your issue.

from server.

johanneskoester avatar johanneskoester commented on August 16, 2024

Thanks!

from server.

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.