Git Product home page Git Product logo

Comments (4)

Kir-Antipov avatar Kir-Antipov commented on July 27, 2024 1

But catching rare cases is good too (:

Jokes on you, of course it is!)
I faced this bug a long time ago, but that time edge-case handling wasn't part of the plans yet, as the script was in its early stage of development. And now when I'm pretty happy with the results, the time has come :)

Well, I can get branches from the branch-button content:

let branches = [...document.querySelectorAll("#ref-list-branches > .SelectMenu-list > a > span:not(.Label)")].map(x => x.innerText.trim());

I hope that at least no one uses the "/" character for tag names xD

from github-defreshed.

Kir-Antipov avatar Kir-Antipov commented on July 27, 2024 1

Voila!
Even dependabot/pip/bitcart-async-0.9.0 works fine now :)

fix

from github-defreshed.

Kir-Antipov avatar Kir-Antipov commented on July 27, 2024

Uh oh
Problem's caused by your branch name, not by "Recent pushes on some branch"

https://github.com/MrNaif2018/bitcart/tree/feature/tor

It's impossible to say where am I by just looking at this link: it can be "tor" folder of "feature"-branch (the most common case) or it can be the root of the "feature/tor"-branch (your case).

At the moment, the script is configured for the most common case, so that no fixes for the repository root are applied to this page.

But don't worry, as always I have an idea how to fix it by few more heuristics :)

from github-defreshed.

MrNaif2018 avatar MrNaif2018 commented on July 27, 2024

Oh, I thought that this branch name might cause problems! But catching rare cases is good too (:
Thank you!
Edit: Actually I found out when this branch name is used, in any project using dependabot, it creates such branch names too
E.g. dependabot/pip/something or dependabot/npm_and_yarn/something

from github-defreshed.

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.