Commit 83b51662 authored by Luke Mallon's avatar Luke Mallon

Merge pull request #2 from wbond/master

Updating my fork
parents fede81a1 634777ab
language: python language: python
python: python:
- "3.3" - "3.3"
#command to run tests #command to run tests
script: nosetests script: python -m unittest
This diff is collapsed.
= Sublime Package Control Default Channel # Sublime Package Control Default Channel
The `channel.json`, `repository.json` and `repository/*.json` files contain a The `channel.json`, `repository.json` and `repository/*.json` files contain a
list of repositories and packages for use with list of repositories and packages for use with
......
{ {
"schema_version": "2.0", "schema_version": "2.0",
"packages": [], "packages": [],
"includes": [ "includes": [
"./repository/0-9.json", "./repository/0-9.json",
"./repository/a.json", "./repository/a.json",
"./repository/b.json", "./repository/b.json",
"./repository/c.json", "./repository/c.json",
"./repository/d.json", "./repository/d.json",
"./repository/e.json", "./repository/e.json",
"./repository/f.json", "./repository/f.json",
"./repository/g.json", "./repository/g.json",
"./repository/h.json", "./repository/h.json",
"./repository/i.json", "./repository/i.json",
"./repository/j.json", "./repository/j.json",
"./repository/k.json", "./repository/k.json",
"./repository/l.json", "./repository/l.json",
"./repository/m.json", "./repository/m.json",
"./repository/n.json", "./repository/n.json",
"./repository/o.json", "./repository/o.json",
"./repository/p.json", "./repository/p.json",
"./repository/q.json", "./repository/q.json",
"./repository/r.json", "./repository/r.json",
"./repository/s.json", "./repository/s.json",
"./repository/t.json", "./repository/t.json",
"./repository/u.json", "./repository/u.json",
"./repository/v.json", "./repository/v.json",
"./repository/w.json", "./repository/w.json",
"./repository/x.json", "./repository/x.json",
"./repository/y.json", "./repository/y.json",
"./repository/z.json" "./repository/z.json"
] ]
} }
\ No newline at end of file
{ {
"schema_version": "2.0", "schema_version": "2.0",
"packages": [ "packages": [
{ {
"name": "2pdf", "name": "2pdf",
"details": "https://github.com/fraoustin/Sublime2pdf", "details": "https://github.com/fraoustin/Sublime2pdf",
"releases": [ "releases": [
{ {
"sublime_text": "<3000", "sublime_text": "<3000",
"details": "https://github.com/fraoustin/Sublime2pdf/tree/master" "details": "https://github.com/fraoustin/Sublime2pdf/tree/master"
} }
] ]
}, },
{ {
"name": "3024 Color Scheme", "name": "3024 Color Scheme",
"details": "https://github.com/idleberg/3024.tmTheme", "details": "https://github.com/idleberg/3024.tmTheme",
"labels": ["color scheme"], "labels": ["color scheme"],
"releases": [ "releases": [
{ {
"sublime_text": "*", "sublime_text": "*",
"details": "https://github.com/idleberg/3024.tmTheme/tree/master" "details": "https://github.com/idleberg/3024.tmTheme/tree/master"
} }
] ]
}, },
{ {
"name": "4GL", "name": "4GL",
"details": "https://github.com/skarcha/SublimeText2-4GL", "details": "https://github.com/skarcha/SublimeText2-4GL",
"labels": ["language syntax"], "labels": ["language syntax"],
"releases": [ "releases": [
{ {
"sublime_text": "*", "sublime_text": "*",
"details": "https://github.com/skarcha/SublimeText2-4GL/tree/master" "details": "https://github.com/skarcha/SublimeText2-4GL/tree/master"
} }
] ]
......
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
{ {
"schema_version": "2.0", "schema_version": "2.0",
"packages": [ "packages": [
{ {
"name": "IcedCoffeeScript", "name": "IcedCoffeeScript",
"details": "https://github.com/dhoelzgen/iced-coffee-script-tmbundle", "details": "https://github.com/dhoelzgen/iced-coffee-script-tmbundle",
"releases": [ "releases": [
{ {
"sublime_text": "*", "sublime_text": "*",
"details": "https://github.com/dhoelzgen/iced-coffee-script-tmbundle/tree/master" "details": "https://github.com/dhoelzgen/iced-coffee-script-tmbundle/tree/master"
} }
] ]
}, },
{ {
"details": "https://github.com/chrisborrowdale/Idiomatic-CSS-Comments-Snippets", "details": "https://github.com/chrisborrowdale/Idiomatic-CSS-Comments-Snippets",
"labels": ["snippets"], "labels": ["snippets"],
"releases": [ "releases": [
{ {
"sublime_text": "*", "sublime_text": "*",
"details": "https://github.com/chrisborrowdale/Idiomatic-CSS-Comments-Snippets/tree/master" "details": "https://github.com/chrisborrowdale/Idiomatic-CSS-Comments-Snippets/tree/master"
} }
] ]
}, },
{ {
"name": "Idoc", "name": "Idoc",
"details": "https://github.com/tstirrat/Idoc-sublime", "details": "https://github.com/tstirrat/Idoc-sublime",
"releases": [ "releases": [
{ {
"sublime_text": "*", "sublime_text": "*",
"details": "https://github.com/tstirrat/Idoc-sublime/tree/master" "details": "https://github.com/tstirrat/Idoc-sublime/tree/master"
} }
] ]
}, },
{ {
"details": "https://github.com/palaniraja/iForce", "details": "https://github.com/palaniraja/iForce",
"releases": [ "releases": [
{ {
"sublime_text": "<3000", "sublime_text": "<3000",
"details": "https://github.com/palaniraja/iForce/tree/master" "details": "https://github.com/palaniraja/iForce/tree/master"
} }
] ]
}, },
{ {
"name": "Image2Base64", "name": "Image2Base64",
"details": "https://github.com/tm-minty/sublime-text-2-image2base64", "details": "https://github.com/tm-minty/sublime-text-2-image2base64",
"releases": [ "releases": [
{ {
"sublime_text": "<3000", "sublime_text": "<3000",
"details": "https://github.com/tm-minty/sublime-text-2-image2base64/tree/master" "details": "https://github.com/tm-minty/sublime-text-2-image2base64/tree/master"
} }
] ]
}, },
{ {
"name": "ImageMagick", "name": "ImageMagick",
"details": "https://github.com/Kentzo/SublimeMagick", "details": "https://github.com/Kentzo/SublimeMagick",
"releases": [ "releases": [
{ {
"sublime_text": "<3000", "sublime_text": "<3000",
"details": "https://github.com/Kentzo/SublimeMagick/tree/master" "details": "https://github.com/Kentzo/SublimeMagick/tree/master"
} }
] ]
}, },
{ {
"name": "ImpactJS", "name": "ImpactJS",
"details": "https://github.com/drhayes/sublime-impactjs", "details": "https://github.com/drhayes/sublime-impactjs",
"releases": [ "releases": [
{ {
"sublime_text": "*", "sublime_text": "*",
"details": "https://github.com/drhayes/sublime-impactjs/tree/master" "details": "https://github.com/drhayes/sublime-impactjs/tree/master"
} }
] ]
}, },
{ {
"details": "https://github.com/SublimeText/InactivePanes", "details": "https://github.com/SublimeText/InactivePanes",
"releases": [ "releases": [
{ {
"sublime_text": "*", "sublime_text": "*",
"details": "https://github.com/SublimeText/InactivePanes/tree/master" "details": "https://github.com/SublimeText/InactivePanes/tree/master"
} }
] ]
}, },
{ {
"name": "Inc-Dec-Value", "name": "Inc-Dec-Value",
"details": "https://github.com/rmaksim/Sublime-Text-2-Inc-Dec-Value", "author": "Razumenko Maksim",
"details": "https://github.com/rmaksim/Sublime-Text-2-Inc-Dec-Value",
"releases": [ "releases": [
{ {
"sublime_text": "<3000", "sublime_text": "*",
"details": "https://github.com/rmaksim/Sublime-Text-2-Inc-Dec-Value/tree/master" "details": "https://github.com/rmaksim/Sublime-Text-2-Inc-Dec-Value/tree/master"
} }
], ],
"previous_names": [ "previous_names": [
"IncDecValue" "IncDecValue"
] ]
}, },
{ {
"name": "Increment Selection", "name": "Increment Selection",
"details": "https://github.com/yulanggong/IncrementSelection", "details": "https://github.com/yulanggong/IncrementSelection",
"releases": [ "releases": [
{ {
"sublime_text": "<3000", "sublime_text": "*",
"details": "https://github.com/yulanggong/IncrementSelection/tree/master" "details": "https://github.com/yulanggong/IncrementSelection/tree/master"
} }
] ]
}, },
{ {
"details": "https://github.com/eBookArchitects/Incrementor", "details": "https://github.com/eBookArchitects/Incrementor",
"releases": [ "releases": [
{ {
"sublime_text": "<3000", "sublime_text": "<3000",
"details": "https://github.com/eBookArchitects/Incrementor/tree/master" "details": "https://github.com/eBookArchitects/Incrementor/tree/master"
} }
] ]
}, },
{ {
"name": "Indent XML", "name": "Indent XML",
"details": "https://github.com/alek-sys/sublimetext_indentxml", "details": "https://github.com/alek-sys/sublimetext_indentxml",
"releases": [ "releases": [
{ {
"sublime_text": "<3000", "sublime_text": "<3000",
"details": "https://github.com/alek-sys/sublimetext_indentxml/tree/master" "details": "https://github.com/alek-sys/sublimetext_indentxml/tree/master"
} }
] ]
}, },
{ {
"details": "https://github.com/SublimeText/IndentGuides", "details": "https://github.com/SublimeText/IndentGuides",
"releases": [ "releases": [
{ {
"sublime_text": "<3000", "sublime_text": "<3000",
"details": "https://github.com/SublimeText/IndentGuides/tree/master" "details": "https://github.com/SublimeText/IndentGuides/tree/master"
} }
] ]
}, },
{ {
"name": "INI", "name": "INI",
"details": "https://github.com/clintberry/sublime-text-2-ini", "details": "https://github.com/clintberry/sublime-text-2-ini",
"releases": [ "releases": [
{ {
"sublime_text": "*", "sublime_text": "*",
"details": "https://github.com/clintberry/sublime-text-2-ini/tree/master" "details": "https://github.com/clintberry/sublime-text-2-ini/tree/master"
} }
] ]
}, },
{ {
"name": "Inline Calculator", "name": "Inline Calculator",
"details": "https://github.com/sahibalejandro/inline-calculator", "details": "https://github.com/sahibalejandro/inline-calculator",
"releases": [ "releases": [
{ {
"sublime_text": "<3000", "sublime_text": "<3000",
"details": "https://github.com/sahibalejandro/inline-calculator/tree/master" "details": "https://github.com/sahibalejandro/inline-calculator/tree/master"
} }
] ]
}, },
{ {
"name": "Insert Sequences", "name": "InnoSetup",
"details": "https://github.com/jbrooksuk/InsertNums", "details": "https://github.com/idleberg/InnoSetup-Sublime-Text",
"labels": ["language syntax"],
"releases": [ "releases": [
{ {
"sublime_text": "<3000", "sublime_text": "*",
"details": "https://github.com/idleberg/InnoSetup-Sublime-Text/tree/master"
}
]
},
{
"name": "Insert Sequences",
"details": "https://github.com/jbrooksuk/InsertNums",
"releases": [
{
"sublime_text": "*",
"details": "https://github.com/jbrooksuk/InsertNums/tree/master" "details": "https://github.com/jbrooksuk/InsertNums/tree/master"
} }
] ]
}, },
{ {
"details": "https://bitbucket.org/markstahler/insert-nums", "details": "https://bitbucket.org/markstahler/insert-nums",
"releases": [ "releases": [
{ {
"sublime_text": "<3000", "sublime_text": "<3000",
"details": "https://bitbucket.org/markstahler/insert-nums/src/default" "details": "https://bitbucket.org/markstahler/insert-nums/src/default"
} }
] ]
}, },
{
"name": "Invert Selection",
"details": "https://github.com/vontio/sublime-invert-selection",
"labels": ["text manipulation"],
"releases": [
{
"sublime_text": "*",
"details": "https://github.com/vontio/sublime-invert-selection/tree/master"
}
]
},
{
"name": "IRC",
"details": "https://github.com/markbirbeck/sublime-text-irc",
"labels": ["irc"],
"releases": [
{
"sublime_text": ">=3000",
"details": "https://github.com/markbirbeck/sublime-text-irc/tags"
}
]
},
{ {
"details": "https://github.com/SublimeText/Issues", "details": "https://github.com/SublimeText/Issues",
"releases": [ "releases": [
{ {
"sublime_text": "*", "sublime_text": "*",
"details": "https://github.com/SublimeText/Issues/tree/master" "details": "https://github.com/SublimeText/Issues/tree/master"
} }
] ]
}, },
{ {
"name": "iTodo", "name": "iTodo",
"details": "https://github.com/chagel/itodo", "details": "https://github.com/chagel/itodo",
"releases": [ "releases": [
{ {
"sublime_text": "<3000", "sublime_text": "<3000",
"details": "https://github.com/chagel/itodo/tree/master" "details": "https://github.com/chagel/itodo/tree/master"
} }
] ]
......
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
{ {
"schema_version": "2.0", "schema_version": "2.0",
"packages": [ "packages": [
{ {
"name": "yardoc", "name": "Yandex Translate",
"details": "https://github.com/revathskumar/sublime-yardoc", "details": "https://github.com/pafnuty/sublime-yandex-translate",
"labels": ["translate"],
"releases": [ "releases": [
{ {
"sublime_text": "<3000", "sublime_text": "<3000",
"details": "https://github.com/pafnuty/sublime-yandex-translate/tree/master"
}
]
},
{
"name": "yardoc",
"details": "https://github.com/revathskumar/sublime-yardoc",
"releases": [
{
"sublime_text": "*",
"details": "https://github.com/revathskumar/sublime-yardoc/tree/master" "details": "https://github.com/revathskumar/sublime-yardoc/tree/master"
} }
] ]
}, },
{ {
"name": "Yate", "name": "Yate",
"details": "https://github.com/mctep/yate-textmate", "details": "https://github.com/mctep/yate-textmate",
"releases": [ "releases": [
{ {
"sublime_text": "*", "sublime_text": "*",
"details": "https://github.com/mctep/yate-textmate/tree/master" "details": "https://github.com/mctep/yate-textmate/tree/master"
} }
] ]
}, },
{ {
"name": "Yii Framework Docs Search", "name": "Yii Framework Docs Search",
"details": "https://github.com/d3th/sublime-text2-yii-docs", "details": "https://github.com/d3th/sublime-text2-yii-docs",
"releases": [ "releases": [
{ {
"sublime_text": "<3000", "sublime_text": "<3000",
"details": "https://github.com/d3th/sublime-text2-yii-docs/tree/master" "details": "https://github.com/d3th/sublime-text2-yii-docs/tree/master"
} }
] ]
}, },
{ {
"name": "Yii Framework Snippets", "name": "Yii Framework Snippets",
"details": "https://github.com/dexnode/sublime-yii-snippets", "details": "https://github.com/dexnode/sublime-yii-snippets",
"labels": ["snippets"], "labels": ["snippets"],
"releases": [ "releases": [
{ {
"sublime_text": "*", "sublime_text": "*",
"details": "https://github.com/dexnode/sublime-yii-snippets/tree/master" "details": "https://github.com/dexnode/sublime-yii-snippets/tree/master"
} }
] ]
}, },
{ {
"name": "Youdao English-Chinese Translate", "name": "Youdao English-Chinese Translate",
"details": "https://github.com/friskfly/Youdao-Translate-For-Sublime", "details": "https://github.com/friskfly/Youdao-Translate-For-Sublime",
"releases": [ "releases": [
{ {
"sublime_text": "<3000", "sublime_text": "<3000",
"details": "https://github.com/friskfly/Youdao-Translate-For-Sublime/tree/master" "details": "https://github.com/friskfly/Youdao-Translate-For-Sublime/tree/master"
} }
] ]
}, },
{ {
"name": "YUI Compressor", "name": "YUI Compressor",
"details": "https://github.com/leon/YUI-Compressor", "details": "https://github.com/leon/YUI-Compressor",
"releases": [ "releases": [
{ {
"sublime_text": "*", "sublime_text": "*",
"details": "https://github.com/leon/YUI-Compressor/tree/master" "details": "https://github.com/leon/YUI-Compressor/tree/master"
} }
] ]
},
{
"name": "yUML",
"details": "https://github.com/cluther/sublime-yuml",
"labels": ["language syntax", "preview"],
"releases": [
{
"sublime_text": "*",
"details": "https://github.com/cluther/sublime-yuml/tags"
}
]
} }
] ]
} }
This diff is collapsed.
This diff is collapsed.
...@@ -732,6 +732,10 @@ with open(old_repositories_json_path, encoding='utf-8') as of: ...@@ -732,6 +732,10 @@ with open(old_repositories_json_path, encoding='utf-8') as of:
repositories.append(repository) repositories.append(repository)
def dump(data, f):
json.dump(data, f, indent="\t", separators=(',', ': '))
includes = [] includes = []
if not os.path.exists(new_repository_subfolder_path): if not os.path.exists(new_repository_subfolder_path):
...@@ -750,17 +754,17 @@ for letter in names: ...@@ -750,17 +754,17 @@ for letter in names:
('packages', []) ('packages', [])
]) ])
data['packages'] = sorted_packages data['packages'] = sorted_packages
json.dump(data, f, indent="\t") dump(data, f)
with open(new_channel_path, 'w', encoding='utf-8') as f: with open(new_channel_path, 'w', encoding='utf-8') as f:
data = OrderedDict() data = OrderedDict()
data['schema_version'] = '2.0' data['schema_version'] = '2.0'
data['repositories'] = repositories data['repositories'] = repositories
json.dump(data, f, indent="\t") dump(data, f)
with open(new_repository_path, 'w', encoding='utf-8') as f: with open(new_repository_path, 'w', encoding='utf-8') as f:
data = OrderedDict() data = OrderedDict()
data['schema_version'] = '2.0' data['schema_version'] = '2.0'
data['packages'] = [] data['packages'] = []
data['includes'] = sorted(includes) data['includes'] = sorted(includes)
json.dump(data, f, indent="\t") dump(data, f)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment