Giter Club home page Giter Club logo

atom-status-bar-blame's People

Contributors

abaracedo avatar apuchkov avatar baldurh avatar chrisdrackett avatar josa42 avatar moritzkn avatar natesholland avatar pabra avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

atom-status-bar-blame's Issues

Object.dirname is deprecated.

Argument to path.dirname must be a string

Object.dirname (/Applications/Atom.app/Contents/Resources/app.asar/src/electron-shims.js:9:10)
Object.git (/Users/btito/.atom/packages/atom-status-bar-blame/node_modules/blamer/src/vcs/git.js:22:18)
Blamer.blameByFile (/Users/btito/.atom/packages/atom-status-bar-blame/node_modules/blamer/src/Blamer.js:15:32)
Object.<anonymous> (/Users/btito/.atom/packages/atom-status-bar-blame/lib/utils/blame.js:22:31)
undefined.next (null:null:null)
step (/Users/btito/.atom/packages/atom-status-bar-blame/lib/utils/blame.js:7:273)

Failed to activate the status-bar-blame package

[Enter steps to reproduce:]

Fails on startup. Started seeing this after last update (not the one from today 19 april, but the one before that).

Atom: 1.16.0 x64
Electron: 1.3.13
OS: Mac OS X 10.12.4
Thrown From: status-bar-blame package 1.0.3

Stack Trace

Failed to activate the status-bar-blame package

At Failed to execute 'registerElement' on 'Document': Registration failed for type 'status-bar-blame'. A type with that name is already registered.

Error: Failed to execute 'registerElement' on 'Document': Registration failed for type 'status-bar-blame'. A type with that name is already registered.
    at Error (native)
    at /packages/status-bar-blame/lib/blame-status-bar-view.js:158:25)
    at Module._compile (/app.asar/src/native-compile-cache.js:109:30)
    at /app.asar/src/compile-cache.js:216:21)
    at Module.load (module.js:473:32)
    at tryModuleLoad (module.js:432:12)
    at Function.Module._load (module.js:424:3)
    at Module.require (module.js:483:17)
    at require (/app.asar/src/native-compile-cache.js:50:27)
    at /packages/status-bar-blame/lib/init.js:9:27)
    at Module._compile (/app.asar/src/native-compile-cache.js:109:30)
    at /app.asar/src/compile-cache.js:216:21)
    at Module.load (module.js:473:32)
    at tryModuleLoad (module.js:432:12)
    at Function.Module._load (module.js:424:3)
    at Module.require (module.js:483:17)
    at require (/app.asar/src/native-compile-cache.js:50:27)
    at Package.module.exports.Package.requireMainModule (/app.asar/src/package.js:796:27)
    at Package.module.exports.Package.activateNow (/app.asar/src/package.js:207:16)
    at /app.asar/src/package.js:190:32
    at Package.module.exports.Package.measure (/app.asar/src/package.js:96:15)
    at /app.asar/src/package.js:183:26
    at Package.module.exports.Package.activate (/app.asar/src/package.js:180:34)
    at PackageManager.module.exports.PackageManager.activatePackage (/app.asar/src/package-manager.js:550:34)
    at /app.asar/src/package-manager.js:531:29
    at Config.module.exports.Config.transactAsync (/app.asar/src/config.js:337:18)
    at PackageManager.module.exports.PackageManager.activatePackages (/app.asar/src/package-manager.js:526:19)
    at PackageManager.module.exports.PackageManager.activate (/app.asar/src/package-manager.js:508:46)
    at /app.asar/src/atom-environment.js:826:28

Commands

Non-Core Packages

atom-beautify 0.29.22 
atom-status-bar-blame 1.0.0 
gruvbox-plus-syntax 1.3.1 
haskell-grammar 0.4.0 
highlight-selected 0.13.1 
language-babel 2.57.3 
language-graphql 0.8.0 
language-ini 1.19.0 
language-lua 0.9.11 
language-ocaml 1.8.0 
language-swift 0.5.0 
language-thrift 1.0.2 
MagicPython 1.0.9 
merge-conflicts 1.4.4 
nuclide 0.217.0 
nuclide-format-js 0.0.36 
set-syntax 0.3.2 
sort-lines 0.14.0 
status-bar-blame 1.0.3 
tool-bar 1.1.0 

Humanize?

The screenshot shows time as "9 minutes ago", but the format config allows only for moment string-based formats.

Uncaught TypeError: Cannot read property 'replace' of null

[Enter steps to reproduce:]

  1. Set cursor in place where git blame information appears
  2. Click bar to see more information

Atom: 1.24.0 x64
Electron: 1.6.16
OS: Ubuntu 16.04.3
Thrown From: status-bar-blame package 2.0.2

Stack Trace

Uncaught TypeError: Cannot read property 'replace' of null

At /home/user/.atom/packages/status-bar-blame/lib/utils/get-commit-link.js:29

TypeError: Cannot read property 'replace' of null
    at getCommitLink (/packages/status-bar-blame/lib/utils/get-commit-link.js:29:29)
    at EditorHandler.openCommitInBrowser (/packages/status-bar-blame/lib/editor-handler.js:207:18)
    at HTMLElement.onLinkClicked (/packages/status-bar-blame/lib/blame-status-bar-view.js:46:26)

Commands

Non-Core Packages

atom-ctags 5.1.2 
atom-typescript 12.3.3 
autocomplete-bash-builtins 0.3.5 
autocomplete-python 1.10.5 
busy-signal 1.4.3 
git-control 0.9.0 
hyperclick 0.1.5 
intentions 1.1.5 
last-cursor-position 0.9.2 
linter 2.2.0 
linter-python 3.1.2 
linter-ui-default 1.7.1 
platformio-ide-terminal 2.8.0 
project-manager 3.3.5 
status-bar-blame 2.0.2 

onDidSave handler called multiple times

At some point Atom starts to call the onDidSave handler VERY often. Sometimes hundreds and even thousands of times. This of course makes Atom unresponsive. I have no idea what triggers this to happen. It’s running fine for a while and then something happens that makes it bomb the the handler. The lazy solution would be to debounce the handler.

Copy commit hash if no url is known

When clicking on the status bar entry in a custom git repo (not GitHub or alike) it shows a notification: Unknown url.. It would be great if it would copy the commit hash instead. This way I could easily inspect the commit via the git-cli.

PS: very useful package, thx you for making it!

Handle custom repo

Hi,
The company where I work use a self hosted Gitlab installation.
Everything seems to work but I always get "Unknow URL".
It would be nice if there was a configuration I could change to point to our Gitlab domain.
(gitlab.companyname.com)
If it's already possible, the README does not meantion anything about this so it would be nice to add.

This package added 400ms to startup time.

Have gotten this message several times when I look at the settings page. My editor has been slow lately so I'm trying to hunt down every possible issue.

  1. I have a brand new machine with 32 gigs of ram.
  2. I only have a handful of packages (this is one is unfortunately the slowest).
  3. I'm not running a lot of other stuff on the machine.
  4. I have two panes open in the project I'm working on with about 10 files in total open, all files are less than 100 lines of code.

Let me know if you need anymore info. I enjoy the package and don't want to disable it if I don't have to.

Uncaught Error: Repository has been destroyed

Looks like there is a conflict with "project-manager 3.3.7" package.

How to reproduce:

  1. Open any project. Click status-bar-blame - it works fine and show commit in browser.
  2. Switch to any project with project-manager
  3. Switch back to first project.
  4. Click status-bar-blame again - you get this exception.

Atom: 1.38.2 x64
Electron: 2.0.18
OS: Mac OS X 10.14.2
Thrown From: status-bar-blame package 2.0.3

Stack Trace

Uncaught Error: Repository has been destroyed

At /Applications/Atom.app/Contents/Resources/app/static/<embedded>:14

Error: Repository has been destroyed
    at GitRepository.getRepo (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:14:1159525)
    at GitRepository.getConfigValue (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:14:1157599)
    at GitRepository.getOriginURL (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:14:1157656)
    at EditorHandler.getRemoteUrl (/packages/status-bar-blame/lib/editor-handler.js:237:47)
    at EditorHandler.openCommitInBrowser (/packages/status-bar-blame/lib/editor-handler.js:207:22)
    at HTMLElement.onLinkClicked (/packages/status-bar-blame/lib/blame-status-bar-view.js:45:26)

Commands

     -0:10.8.0 core:close (div.panels-item)
     -0:06.3.0 project-manager:list-projects (a.)
     -0:05.8.0 core:move-down (input.hidden-input)
     -0:05.6.0 core:confirm (input.hidden-input)
     -0:04.7.0 project-manager:list-projects (atom-workspace.workspace.scrollbars-visible-when-scrolling.theme-one-dark-syntax.theme-apex-adapt-dark-ui)
     -0:04.1.0 core:confirm (input.hidden-input)

Non-Core Packages

apex-adapt-dark-ui 0.4.2 
atom-beautify 0.33.4 
atom-isort 2.6.3 
atom-minify 0.8.0 
atom-over-and-back 0.4.0 
autocomplete-python 1.14.1 
blame 1.1.0 
busy-signal 2.0.1 
city-lights-syntax 1.1.8 
city-lights-ui 1.5.3 
color-picker 2.3.0 
django-templates 0.5.0 
duotone-dark-sky-syntax 2.1.0 
git-time-machine 2.1.0 
goto-definition 1.3.4 
hydrogen-python 0.0.8 
intentions 1.1.5 
jumpy 5.0.2 
linter 2.3.0 
linter-flake8 2.4.0 
linter-ui-default 1.7.1 
MagicPython 1.1.1 
minimap 4.29.9 
minimap-git-diff 4.3.1 
open-in-browser 0.5.2 
pristine-ui 1.1.11 
project-manager 3.3.7 
python-tools 0.6.9 
sort-lines 0.19.0 
split-diff 1.6.0 
status-bar-blame 2.0.3 
styri-syntax 1.0.0 
todo-show 2.3.2 

unable to open http://gitlab....

Hi,

when using a non https (internal) gitlab server @ work the blame link to gitlab is forced to https..
Please consider a way to make it to fallback to http.

Thanks, Bob

Object.basename is deprecated.

Arguments to path.basename must be strings

Object.basename (/Applications/Atom.app/Contents/Resources/app.asar/src/electron-shims.js:31:10)
Object.git (/Users/btito/.atom/packages/atom-status-bar-blame/node_modules/blamer/src/vcs/git.js:21:23)
Blamer.blameByFile (/Users/btito/.atom/packages/atom-status-bar-blame/node_modules/blamer/src/Blamer.js:15:32)
Object.<anonymous> (/Users/btito/.atom/packages/atom-status-bar-blame/lib/utils/blame.js:22:31)
undefined.next (null:null:null)
step (/Users/btito/.atom/packages/atom-status-bar-blame/lib/utils/blame.js:7:273)

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.