Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ocap discipline aided by static typing #24

Open
wants to merge 29 commits into
base: master
Choose a base branch
from
Open
Changes from 1 commit
Commits
Show all changes
29 commits
Select commit Hold shift + click to select a range
76eaed3
bulk edit: os.path(), open() -> pathlib API
dckc Sep 19, 2016
676dc70
src.util static type hints in preparation for ocap refactor
dckc Sep 17, 2016
7e0c2d9
define pathlib.Path subclass with shutil methods
dckc Sep 17, 2016
a7e8cc0
explicit Path authority in util.copy_file, etc.
dckc Sep 17, 2016
49eb9eb
pass web access to unsafe_fetch explicitly
dckc Sep 17, 2016
dafbb5d
pass Popen authority to patch() explicitly
dckc Sep 17, 2016
be5b212
src/rpm: conventional (PEP8) whitespace style
dckc Sep 17, 2016
b657d13
use pkgutil.get_data for config resources
dckc Sep 17, 2016
ed67148
make the src dir into a package (helps with mypy)
dckc Sep 17, 2016
93dcccd
distfile: use object capability discipline
dckc Sep 17, 2016
583b758
src.package: static types, explicit authority
dckc Sep 17, 2016
4427e05
prune dead "Skip directory names." code
dckc Sep 17, 2016
06ff4cb
src.builder: explicit authority, static types
dckc Sep 17, 2016
aa5281c
src.repository: ocap discipline, static types
dckc Sep 18, 2016
32160de
add access to /usr andn /usr/local to platform
dckc Sep 18, 2016
78fa349
src.catalog: ocap discipline, static types (WIP)
dckc Sep 18, 2016
26d3597
distfile: PEP8 style
dckc Sep 17, 2016
1c8d9b0
src.package: prune unused imports
dckc Sep 17, 2016
3c60d52
package: style: 2 blank lines before class
dckc Sep 17, 2016
e40cb5b
src/catalog: style tweaks; prune unused items
dckc Sep 18, 2016
12dc43c
build_packages: use parens for long import
dckc Sep 18, 2016
0b61347
Merge static_types_mypy into py_style, pathlib
dckc Sep 20, 2016
ee53b09
some static types for src.version
dckc Sep 21, 2016
a4c8c2e
string-ize fwd refs to types to avoide NameError
dckc Sep 21, 2016
db99f02
test_get_target_packages(), trivial case
dckc Sep 21, 2016
444094a
walk fix: not is_dir() does not imply is_file()
dckc Sep 21, 2016
b079ac7
fix scope of `random` in get_starget_packages
dckc Sep 21, 2016
75c2b84
declare packages/** as design-time test data
dckc Sep 21, 2016
0ba5835
factor mock_io out of test_suite
dckc Sep 21, 2016
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
declare packages/** as design-time test data
add __init__.py for use with pkgutil.get_data

perhaps a bit of a kludge? but a harmless one
dckc committed Sep 21, 2016
commit 75c2b841de326f4b31701b4e699eef732e31ba29
Empty file added packages/__init__.py
Empty file.