Comments (6)
Yep, sounds good. However, I'm not sure how to understand which system we working with? github or bitbucket? Right now, we get this from url. So, if url is custom how will we know?
from browse-at-remote.
How about letting user put it to git config for the given repository? For example:
git config --add browseAtRemote.type "github"
Then we can get it via:
git config browseAtRemote.type
from browse-at-remote.
Yep, this looks good. So, we can try to get this value first, if it's not defined, we will fallback to retrieve remote type from url. If you have time and desire to implement this feature - it will be great! Thanks!
from browse-at-remote.
Yes, I would like to contribute. However, I would be able to do it not sooner than in 2 weeks. Please leave this ticket open if it's fine for you.
from browse-at-remote.
@env0der np, thanks!
from browse-at-remote.
Thanks @env0der! Feature successfully landed.
from browse-at-remote.
Related Issues (20)
- Private bitbucket repos are not supported HOT 3
- How to select or change remote HOT 3
- Release version HOT 1
- browse-remote-prefer-symbolic does not fallback to git revision in detached HEAD state
- [feature-request] browse-*from*-remote: given a url, open the file/line/commit it points to HOT 6
- Line numbers in URL even though I didn't select any line HOT 3
- Tag version 0.14.0 HOT 2
- support SSH session HOT 1
- `apply: Wrong number of arguments: #<subr cons>, 1` when tracking local branches HOT 1
- Allow more customization of domain based on remote HOT 13
- Feature request: support Gogs and/or Gitea
- prefer-symbolic nil causes 404 in bitbucket
- Wrong remote selected
- Can't browse at remove after the package update HOT 2
- Can't browse custom domain even with set browse-at-remote-remote-type-domains HOT 4
- refs%2Fheads%2F is added to URL for type stash, resulting in broken link
- open with gitlab without starting with `https://`
- Unsure what remote type should be used for heroku
- browse-at-remote opens heroku when it should open github
- browse-at-remote broken in MELPA / on master with 28.1 HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from browse-at-remote.