8000 Release v0.17.0a0 - `url` improvements · vcs-python/libvcs · GitHub
[go: up one dir, main page]

Skip to content

v0.17.0a0 - `url` improvements

Pre-release
Pre-release
Compare
Choose a tag to compare
@tony tony released this 25 Sep 13:29
· 714 commits to master since this release

New features

  • URLs: Added registry, match find which VCS a URL matches with (#420)

  • create_project: Learn to guess VCS from URL, if none provided (#420)

Breaking changes

URL renamings (#417):

  • Matcher -> RuleMatcherRegistry -> Rules

  • matches -> rule_map

  • default_patterns -> patterns

  • MATCHERS -> RULES

Improvements

  • URLs (#423):

    • hg: Add HgBaseURLHgPipURL

    • svn: Add SvnBaseURLSvnPipURL

    • URLProtocol: Fix is_valid to use classmethod

    • All: Fix is_valid to use default of None to avoid implicitly filtering

    • Reduce duplicated code in methods by using super()

Packaging

  • Migrate .coveragerc to pyproject.toml (#421)

  • Remove .tmuxp.before-script.sh (was a before_script in .tmuxp.yaml) that was unused.

  • Move conftest.py to root level

    • Can be excluded from wheel, included in sdist

    • Required to satisfy pytest's pytest_plugins only being in top-level confte conftest.py files since 4.0 (see notice)

    • Makes it possible to run pytest README.md with doctest plugin

Automatically added

  • URLs: Renaming by @tony in #417
  • build: Remove .coveragerc, use pyproject.toml by @tony in #421
  • url: Improvements to parsing URLs by @tony in #423
  • vcs-registry: All vcspull compatible URLs must have URLs detected by @tony in #420

Full Changelog: v0.16.5...v0.17.0a0

0