Home Download Buy Blog Forum Support

Package Control: A full-featured package manager

Re: Package Control: A full-featured package manager

Postby rmaksim on Fri Jan 13, 2012 6:06 am

as an idea:

sometimes interested in what's new, but it is difficult to find

add to the panel item - new plug-ins for the last month
rmaksim
 
Posts: 59
Joined: Sat Jul 02, 2011 7:31 pm

Re: Package Control: A full-featured package manager

Postby tito on Sun Jan 15, 2012 9:17 pm

Hi wbond!

I have some plugins added via git.
For some reason "Package Control" when I use "Upgrade packages" command, it prompts me for the ssh key on each package! Problem is I have such 10 of these packages.

Is there any option to disable upgrade for git repositories? disabling GitUpgrader.

Thanks
Give APIs, let the community build the rest!
https://github.com/titoBouzout
tito
 
Posts: 876
Joined: Thu Sep 29, 2011 2:27 pm
Location: Montevideo, Uruguay

Re: Package Control: A full-featured package manager

Postby wbond on Mon Jan 16, 2012 12:39 am

rmaksim wrote:as an idea:

sometimes interested in what's new, but it is difficult to find

add to the panel item - new plug-ins for the last month


I should hopefully have this added to the website in the near future along with an RSS feed.

tito wrote:Hi wbond!

I have some plugins added via git.
For some reason "Package Control" when I use "Upgrade packages" command, it prompts me for the ssh key on each package! Problem is I have such 10 of these packages.

Is there any option to disable upgrade for git repositories? disabling GitUpgrader.

Thanks


You probably want to use the auto_upgrade_ignore setting http://wbond.net/sublime_packages/packa ... l/settings
wbond
 
Posts: 531
Joined: Mon Feb 28, 2011 5:33 am

Re: Package Control: A full-featured package manager

Postby tito on Mon Jan 16, 2012 2:03 pm

Thanks wbond. Is not related to auto-upgrade, is about manually selecting "Upgrade packages" Looks like PC tries to check repositorires on github, popuping the ssh key error for each package on git.
Image
Give APIs, let the community build the rest!
https://github.com/titoBouzout
tito
 
Posts: 876
Joined: Thu Sep 29, 2011 2:27 pm
Location: Montevideo, Uruguay

Re: Package Control: A full-featured package manager

Postby firefusion on Tue Jan 24, 2012 7:04 am

I haven't been able to update or install anything. I get this error when trying to launch the quick panel.

Code: Select all
  File ".\Package Control.py", line 1706, in show_quick_panel
TypeError: No registered converter was able to produce a C++ rvalue of type class std::basic_string<wchar_t,struct std::char_traits<wchar_t>,class std::allocator<wchar_t> > from this Python object of type NoneType


EDIT

Ok I removed some custom repos from my user config file and it seems to work again now. It was after removing these two...

Code: Select all
"https://github.com/ChrisKempson/TextMate-Tomorrow-Theme",
"https://github.com/skt84/Themr"
firefusion
 
Posts: 218
Joined: Fri Oct 16, 2009 7:37 am

Re: Package Control: A full-featured package manager

Postby wbond on Tue Jan 24, 2012 7:06 pm

firefusion wrote:I haven't been able to update or install anything. I get this error when trying to launch the quick panel.

Code: Select all
  File ".\Package Control.py", line 1706, in show_quick_panel
TypeError: No registered converter was able to produce a C++ rvalue of type class std::basic_string<wchar_t,struct std::char_traits<wchar_t>,class std::allocator<wchar_t> > from this Python object of type NoneType


EDIT

Ok I removed some custom repos from my user config file and it seems to work again now. It was after removing these two...

Code: Select all
"https://github.com/ChrisKempson/TextMate-Tomorrow-Theme",
"https://github.com/skt84/Themr"


Hmm, that is interesting. Both of those are not currently in the default channel. I wonder if the bug is related to that. I'll do a little digging tonight.
wbond
 
Posts: 531
Joined: Mon Feb 28, 2011 5:33 am

Re: Package Control: A full-featured package manager

Postby wbond on Fri Mar 02, 2012 9:32 pm

I just released version 1.5.0 which fixes a whole handful of bugs and adds SSL certificate verification to prevent man in the middle attacks against automatic updates. http://wbond.net/sublime_packages/packa ... /changelog includes details.
wbond
 
Posts: 531
Joined: Mon Feb 28, 2011 5:33 am

Re: Package Control: A full-featured package manager

Postby Grant on Fri Mar 16, 2012 2:48 pm

I'm behind a proxy and although I have the "http_proxy" and "https_proxy" settings both set to the same thing. Every time I try to list packages to install or packages to upgrade, i get one ore more of the following errors in the console:

Code: Select all
Package Control: Error downloading channel. URL error _ssl.c:480: error:140770FC:SSL routines:SSL23_GET_SERVER_HELLO:unknown protocol downloading https://sublime.wbond.net/repositories.json.


A month ago, this was working fine for me. Has anything changed to break this behavior on the plugin side, or is there a problem with my company's proxy?
Grant
 
Posts: 68
Joined: Fri Jan 20, 2012 2:42 pm

Re: Package Control: A full-featured package manager

Postby wbond on Sat Mar 17, 2012 5:09 pm

Grant wrote:I'm behind a proxy and although I have the "http_proxy" and "https_proxy" settings both set to the same thing. Every time I try to list packages to install or packages to upgrade, i get one ore more of the following errors in the console:

Code: Select all
Package Control: Error downloading channel. URL error _ssl.c:480: error:140770FC:SSL routines:SSL23_GET_SERVER_HELLO:unknown protocol downloading https://sublime.wbond.net/repositories.json.


A month ago, this was working fine for me. Has anything changed to break this behavior on the plugin side, or is there a problem with my company's proxy?


Package Control has switched to using SSL for the default channel for security purposes. Without a secure connection that checks the SSL certificate, it is possible for a man-in-the-middle attack where an attacker could inject arbitrary python code onto your machine via the automatic upgrade mechanism.

Unfortunately, it appears that some proxies have trouble with the SSL connection to my server. From reading online, the best info I can find talks about problems with different versions of OpenSSL talking to each other. I am in the process of migrating the site to a brand new server. Hopefully this will be complete in the next week or so.
wbond
 
Posts: 531
Joined: Mon Feb 28, 2011 5:33 am

Re: Package Control: A full-featured package manager

Postby facelessuser on Mon Mar 19, 2012 3:51 pm

I am looking for a detailed explanation of version numbers in Package Control. It seems by default, Package Control generates a version number like this

Code: Select all
"version": "2012.03.19.08.38.37"


I am looking into providing upgrade messages for certain versions, but I am uncertain how to override the current versioning scheme.

I would like to have it just be something predictable like:

Code: Select all
"version": "1.7.0"
, but I can't seem to figure out how to do this. Documentation isn't very good on this, or I am not very good at determining this from the documentation. I see other packages doing this without anything special. Am I just missing something? Are the messages not connected to the version number in package-metadata.json?
facelessuser
 
Posts: 1576
Joined: Tue Apr 05, 2011 7:38 pm

PreviousNext

Return to Plugin Announcements

Who is online

Users browsing this forum: No registered users and 4 guests