Giter Club home page Giter Club logo

open-on-bitbucket's People

Contributors

byron avatar davekonopka avatar hokaccha avatar izuzak avatar jasonrudolph avatar jcaudle avatar kdaigle avatar kevinsawicki avatar kjg avatar lee-dohm avatar mark-adams avatar maxbrunsfeld avatar mcolyer avatar mnquintana avatar olivierlacan avatar peterdavehello avatar sarencurrie avatar tomoya avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

open-on-bitbucket's Issues

Uncaught ReferenceError: filePath is not defined

When I try to open а file in Bitbucket by cmd+shift+p command, this issue occurs

Atom Version: 1.12.6
Electron Version: 1.3.9
System: Mac OS X 10.12.1
Thrown From: open-on-bitbucket package, v0.4.0

Stack Trace

Uncaught ReferenceError: filePath is not defined

At /Users/Constantin/.atom/packages/open-on-bitbucket/lib/bitbucket-file.coffee:15

ReferenceError: filePath is not defined
    at new BitbucketFile (/Users/Constantin/.atom/packages/open-on-bitbucket/lib/bitbucket-file.coffee:15:45)
    at Function.module.exports.BitbucketFile.fromPath (/Users/Constantin/.atom/packages/open-on-bitbucket/lib/bitbucket-file.coffee:11:9)
    at atom-pane.open-on-bitbucket:file (/Users/Constantin/.atom/packages/open-on-bitbucket/lib/main.coffee:14:25)
    at CommandRegistry.module.exports.CommandRegistry.handleCommandEvent (/Applications/Atom.app/Contents/Resources/app.asar/src/command-registry.js:259:29)
    at /Applications/Atom.app/Contents/Resources/app.asar/src/command-registry.js:3:59
    at CommandPaletteView.module.exports.CommandPaletteView.confirmed (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/command-palette/lib/command-palette-view.js:210:32)
    at CommandPaletteView.module.exports.SelectListView.confirmSelection (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/atom-space-pen-views/lib/select-list-view.js:338:21)
    at space-pen-div.atom.commands.add.core:confirm (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/atom-space-pen-views/lib/select-list-view.js:109:19)
    at CommandRegistry.module.exports.CommandRegistry.handleCommandEvent (/Applications/Atom.app/Contents/Resources/app.asar/src/command-registry.js:259:29)
    at /Applications/Atom.app/Contents/Resources/app.asar/src/command-registry.js:3:59
    at KeymapManager.module.exports.KeymapManager.dispatchCommandEvent (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/atom-keymap/lib/keymap-manager.js:587:16)
    at KeymapManager.module.exports.KeymapManager.handleKeyboardEvent (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/atom-keymap/lib/keymap-manager.js:382:22)
    at WindowEventHandler.module.exports.WindowEventHandler.handleDocumentKeyEvent (/Applications/Atom.app/Contents/Resources/app.asar/src/window-event-handler.js:106:36)
    at HTMLDocument.<anonymous> (/Applications/Atom.app/Contents/Resources/app.asar/src/window-event-handler.js:3:59)

Commands

     -0:04.7.0 command-palette:toggle (atom-text-editor.editor.is-focused)
  4x -0:02.5.0 core:backspace (atom-text-editor.editor.mini.is-focused)
     -0:00.1.0 core:confirm (atom-text-editor.editor.mini.is-focused)
     -0:00.1.0 open-on-bitbucket:file (atom-text-editor.editor)

I am not able use open on Bitbucket features.

Hi,

I am trying to use Open on Bitbucket features. However if I click on any of the options, nothing is happening. Am I missing something? how do I configure my BitBucket repo with Atom.
image

Regards,
Ajay

Uncaught TypeError: Cannot read property '0' of null

1.When i open the repo and click on Packages -> open on bitbucket -> then select any option.

Atom: 1.21.1 x64
Electron: 1.6.15
OS: Microsoft Windows 10 Pro
Thrown From: open-on-bitbucket package 0.5.0

Stack Trace

Uncaught TypeError: Cannot read property '0' of null

At C:\Users\kunal\.atom\packages\open-on-bitbucket\lib\bitbucket-file.coffee:208

TypeError: Cannot read property '0' of null
    at BitbucketFile.module.exports.BitbucketFile.stashRepoUrlRepoUrl (/packages/open-on-bitbucket/lib/bitbucket-file.coffee:208:6)
    at BitbucketFile.module.exports.BitbucketFile.bitbucketRepoUrl (/packages/open-on-bitbucket/lib/bitbucket-file.coffee:181:15)
    at BitbucketFile.module.exports.BitbucketFile.validationErrors (/packages/open-on-bitbucket/lib/bitbucket-file.coffee:96:13)
    at BitbucketFile.module.exports.BitbucketFile.isOpenable (/packages/open-on-bitbucket/lib/bitbucket-file.coffee:86:6)
    at BitbucketFile.module.exports.BitbucketFile.blame (/packages/open-on-bitbucket/lib/bitbucket-file.coffee:36:9)
    at /packages/open-on-bitbucket/lib/main.coffee:22:44)
    at CommandRegistry.handleCommandEvent (~/AppData/Local/atom/app-1.21.1/resources/app/src/command-registry.js:381:36)
    at CommandRegistry.dispatch (~/AppData/Local/atom/app-1.21.1/resources/app/src/command-registry.js:266:23)
    at AtomEnvironment.module.exports.AtomEnvironment.dispatchApplicationMenuCommand (~/AppData/Local/atom/app-1.21.1/resources/app/src/atom-environment.js:1348:34)
    at EventEmitter.outerCallback (~/AppData/Local/atom/app-1.21.1/resources/app/src/application-delegate.js:335:31)
    at emitThree (events.js:116:13)
    at EventEmitter.emit (events.js:194:7)

Commands

     -1:41.1.0 open-on-bitbucket:repository (atom-pane.pane.active)
     -1:34.9.0 open-on-bitbucket:branch-compare (div.tool-panel.tree-view)
     -1:17.6.0 open-on-bitbucket:blame (input.hidden-input)

Non-Core Packages

open-on-bitbucket 0.5.0 

New source browser experience

The old way an url to browse to a file is build is:
bitbucket.org/{team}/{repo}/src/{branch}/{folder}/{file}
if the "New source browser experience" is enabled in the Bitbucket settings the URL is build differently:
bitbucket.org/{team}/{repo}/src/{latest-commit}/{folder}/{file}

because of this you'll get a 404 error when trying to use the package with the "New source browser experience" option enabled.

Maybe a toggle in the package settings to toggle between the old way and the new way? I guess the new source browser will be default soon.

Thanks in advance.

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.