Skip to content

Commit

Permalink
Fixes #3
Browse files Browse the repository at this point in the history
Changed default repository
  • Loading branch information
ueffel committed May 25, 2018
1 parent e995349 commit b1bc1dd
Show file tree
Hide file tree
Showing 3 changed files with 576 additions and 577 deletions.
90 changes: 45 additions & 45 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,45 +1,45 @@
Keypirinha Package Control
==========================

This is a package for the fast keystroke launcher keypirinha (http://keypirinha.com/). It provides
commands to install, update and remove third party packages.

## Usage

All commands are prefixed with `PackageControl:`.
* Install Package - Downloads the new package and installs it
* Update Package - Checks if a new version of the package is available and updates if so
* Update All Packages - Does the Update Package command for all installed packages
* Remove Package - Deinstalls the package (configurations are untouched)
* Reinstall Package - Deinstalls the package and installs it again (configurations are untouched)
* Reinstall Untracked - Reinstalls a already installed package, that was not installed through
PackageControl (untracked package)
* Reinstall All Untracked - Does the Reinstall Untracked command for all untracked packages
* Update Repository List - Downloads the list of available package again

## Installation

### Directly from Keypirinha

* Open the `Keypirinha: Console`
* Enter the following:
```python
import keypirinha as kp,keypirinha_net as kpn,os;p="PackageControl.keypirinha-package";d=kpn.build_urllib_opener().open("https://github.com/ueffel/Keypirinha-PackageControl/releases/download/0.2/"+p);pb=d.read();d.close();f=open(os.path.join(kp.installed_package_dir(),p),"wb");f.write(pb);f.close()
```

### Manually

* Download the `PackageControl.keypirinha-package` from the
[releases](https://github.com/ueffel/Keypirinha-PackageControl/releases/latest)
* Copy the file into `%APPDATA%\Keypirinha\InstalledPackages` (installed mode) or
`<Keypirinha_Home>\portable\Profile\InstalledPackages` (portable mode)

## Problems

If you have any problems after updating packages, please try to restart Keypirinha and see if the
problems are still there. The reason for some problems can be [Live
Reloading](http://keypirinha.com/api/overview.html?highlight=tricky#reloading) of packages, also
related: [this issue](https://github.com/Keypirinha/Keypirinha/issues/117).

TL;DR: Python's import/unload machinery can sometimes do weird stuff at runtime. Restarting the
python interpreter helps.
Keypirinha Package Control
==========================

This is a package for the fast keystroke launcher keypirinha (http://keypirinha.com/). It provides
commands to install, update and remove third party packages.

## Usage

All commands are prefixed with `PackageControl:`.
* Install Package - Downloads the new package and installs it
* Update Package - Checks if a new version of the package is available and updates if so
* Update All Packages - Does the Update Package command for all installed packages
* Remove Package - Deinstalls the package (configurations are untouched)
* Reinstall Package - Deinstalls the package and installs it again (configurations are untouched)
* Reinstall Untracked - Reinstalls a already installed package, that was not installed through
PackageControl (untracked package)
* Reinstall All Untracked - Does the Reinstall Untracked command for all untracked packages
* Update Repository List - Downloads the list of available package again

## Installation

### Directly from Keypirinha

* Open the `Keypirinha: Console`
* Enter the following:
```python
import keypirinha as kp,keypirinha_net as kpn,os;p="PackageControl.keypirinha-package";d=kpn.build_urllib_opener().open("https://github.com/ueffel/Keypirinha-PackageControl/releases/download/0.2.1/"+p);pb=d.read();d.close();f=open(os.path.join(kp.installed_package_dir(),p),"wb");f.write(pb);f.close()
```

### Manually

* Download the `PackageControl.keypirinha-package` from the
[releases](https://github.com/ueffel/Keypirinha-PackageControl/releases/latest)
* Copy the file into `%APPDATA%\Keypirinha\InstalledPackages` (installed mode) or
`<Keypirinha_Home>\portable\Profile\InstalledPackages` (portable mode)

## Problems

If you have any problems after updating packages, please try to restart Keypirinha and see if the
problems are still there. The reason for some problems can be [Live
Reloading](http://keypirinha.com/api/overview.html?highlight=tricky#reloading) of packages, also
related: [this issue](https://github.com/Keypirinha/Keypirinha/issues/117).

TL;DR: Python's import/unload machinery can sometimes do weird stuff at runtime. Restarting the
python interpreter helps.
44 changes: 22 additions & 22 deletions packagecontrol.ini
Original file line number Diff line number Diff line change
@@ -1,22 +1,22 @@
[main]
# Decides which packages are available to install
# Default: http://ueffel.bplaced.de/uni/packages.json
#repository = http://ueffel.bplaced.de/uni/packages.json

# List of the installed packages
# this list is automatically updated, no need to add anything here in the file directly
# installed packages are checked on startup, if anything isn't present, it will be installed
#installed_packages =

# Decides whether package should be automatically updated (at startup, when config or repository is updated)
# Default: yes
#autoupdate = yes

# Specifies the time in hours after which the cache of the package repository is consider outdated
# This setting takes float values
# Examples:
# Daily: 24
# Every 6 minutes: 0.1
# Weekly: 168
# Default: 12
#update_interval = 12
[main]
# Decides which packages are available to install
# Default: https://ue.spdns.de/packagecontrol/packages.json
#repository = https://ue.spdns.de/packagecontrol/packages.json

# List of the installed packages
# this list is automatically updated, no need to add anything here in the file directly
# installed packages are checked on startup, if anything isn't present, it will be installed
#installed_packages =

# Decides whether package should be automatically updated (at startup, when config or repository is updated)
# Default: yes
#autoupdate = yes

# Specifies the time in hours after which the cache of the package repository is consider outdated
# This setting takes float values
# Examples:
# Daily: 24
# Every 6 minutes: 0.1
# Weekly: 168
# Default: 12
#update_interval = 12
Loading

0 comments on commit b1bc1dd

Please sign in to comment.