snoringfrog / gitlabintegrate Goto Github PK
View Code? Open in Web Editor NEWIntegrates various Gitlab features (mostly issue management) into Sublime 2/3.
Integrates various Gitlab features (mostly issue management) into Sublime 2/3.
I am not able to connect to gitlab over HTTPS from a linux (debian 64) client running Sublime Text 3. The error I get is:
GitlabIntegrate.gitlab.requests.packages.urllib3.exceptions.SSLError: Can't connect to HTTPS URL because the SSL module is not available.
I installed this package with Package Control
With sublime text 3 (3065) on ubuntu 14.04 64bits
reloading plugin GitlabIntegrate.gitlab_integrate
Traceback (most recent call last):
File "/opt/sublime_text/sublime_plugin.py", line 73, in reload_plugin
m = importlib.import_module(modulename)
File "./importlib/__init__.py", line 90, in import_module
File "<frozen importlib._bootstrap>", line 1584, in _gcd_import
File "<frozen importlib._bootstrap>", line 1565, in _find_and_load
File "<frozen importlib._bootstrap>", line 1532, in _find_and_load_unlocked
File "/opt/sublime_text/sublime_plugin.py", line 671, in load_module
exec(compile(source, source_path, 'exec'), mod.__dict__)
File "gitlab_integrate in /home/adelaunay/.config/sublime-text-3/Installed Packages/GitlabIntegrate.sublime-package", line 10, in <module>
ImportError: No module named 'gitlab'
Sublime 3 Console Error Message Output:
reloading plugin GitlabIntegrate.gitlab_integrate
Traceback (most recent call last):
File "D:\Applications\Sublime Text 3\sublime_plugin.py", line 74, in reload_plugin
m = importlib.import_module(modulename)
File "./importlib/__init__.py", line 90, in import_module
File "<frozen importlib._bootstrap>", line 1584, in _gcd_import
File "<frozen importlib._bootstrap>", line 1565, in _find_and_load
File "<frozen importlib._bootstrap>", line 1532, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 584, in _check_name_wrapper
File "<frozen importlib._bootstrap>", line 1022, in load_module
File "<frozen importlib._bootstrap>", line 1003, in load_module
File "<frozen importlib._bootstrap>", line 560, in module_for_loader_wrapper
File "<frozen importlib._bootstrap>", line 868, in _load_module
File "<frozen importlib._bootstrap>", line 313, in _call_with_frames_removed
File "C:\Users\hochguertelto\AppData\Roaming\Sublime Text 3\Packages\GitlabIntegrate\gitlab_integrate.py", line 9, in <module>
from . import gitlab
File "C:\Users\hochguertelto\AppData\Roaming\Sublime Text 3\Packages\GitlabIntegrate\gitlab\__init__.py", line 7, in <module>
from . import requests
File "C:\Users\hochguertelto\AppData\Roaming\Sublime Text 3\Packages\GitlabIntegrate\gitlab\requests\__init__.py", line 58, in <module>
from . import utils
File "C:\Users\hochguertelto\AppData\Roaming\Sublime Text 3\Packages\GitlabIntegrate\gitlab\requests\utils.py", line 23, in <module>
from .compat import parse_http_list as _parse_list_header
File "C:\Users\hochguertelto\AppData\Roaming\Sublime Text 3\Packages\GitlabIntegrate\gitlab\requests\compat.py", line 7, in <module>
from .packages import charade as chardet
File "C:\Users\hochguertelto\AppData\Roaming\Sublime Text 3\Packages\GitlabIntegrate\gitlab\requests\packages\__init__.py", line 3, in <module>
from . import urllib3
File "C:\Users\hochguertelto\AppData\Roaming\Sublime Text 3\Packages\GitlabIntegrate\gitlab\requests\packages\urllib3\__init__.py", line 16, in <module>
from .connectionpool import (
File "C:\Users\hochguertelto\AppData\Roaming\Sublime Text 3\Packages\GitlabIntegrate\gitlab\requests\packages\urllib3\connectionpool.py", line 40
except (ImportError, AttributeError): # Platform-specific: No SSL.
^
SyntaxError: invalid syntax
User Configuration:
{
"display_intro":true,
"edit_issue_in_tab_name": "[GLI]: Editing Issue",
"hide_closed_issues":false,
"output_prefix":"[GLI]:",
"project_host":"http://gitlab.hochguertel.biz",
"project_id": 0,
"user_token":"aaBBccDD01010101"
}
Token changed for this case, I can provide an Test Account on gitlab.hochguertel.biz, please speak to me.
Enviroment Information:
GitLab 7.9.1 6f6c5f1
Sublime Text 3 Stable Channel, Build 3083
GitlabIntegrate 1.4.11, Package Control
Windows 7 Ultimate SP 1 (64-bit)
I frequently find myself looking at code in SublimeText and wishing to share a reference to that code, not as a snippet, but as a reference to that same code in GitLab. I imagine selecting a block of code and getting a context menu to "share lines from repo (permalink)". Also, probably context-clicking a folder or file should also present an option "share link from repo" that will link to the file or folder. Presumably the link will be copied to the clipboard, though there may be other mechanisms of sharing that are useful.
I'm not even sure this feature is possible, but if it was made, I'd sure love to use it.
Hi!
Is not exactly a issue, but could be a good feature.
Thanks
I am unable to get GitlabIntegrate to work, here is the output from the console:
reloading plugin GitlabIntegrate.gitlab_integrate
Traceback (most recent call last):
File "/Applications/My Applications/Development/Sublime Text.app/Contents/MacOS/sublime_plugin.py", line 73, in reload_plugin
m = importlib.import_module(modulename)
File "./importlib/__init__.py", line 90, in import_module
File "<frozen importlib._bootstrap>", line 1584, in _gcd_import
File "<frozen importlib._bootstrap>", line 1565, in _find_and_load
File "<frozen importlib._bootstrap>", line 1532, in _find_and_load_unlocked
File "/Applications/My Applications/Development/Sublime Text.app/Contents/MacOS/sublime_plugin.py", line 671, in load_module
exec(compile(source, source_path, 'exec'), mod.__dict__)
File "gitlab_integrate in /Users/jpscharf/Library/Application Support/Sublime Text 3/Installed Packages/GitlabIntegrate.sublime-package", line 10, in <module>
ImportError: No module named 'gitlab'
I wondered as this seems to be not implemented.
Intro text file is not being loaded in ST3.
Plugin is broken in ST2 with latest updates. Currently, I recommend against even installing the plugin in ST2. Not sure how far back you have to go to find a Release that runs in ST2.
Issue stems from sublime.active_window() returning none while Settings is being initialized.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.