djangopackages-zz / djangopackages

Django Packages - a place to review Django apps, frameworks, and projects.
http://djangopackages.com
MIT License
53 stars 40 forks source link

Add package form update #117

Closed szilveszter closed 13 years ago

szilveszter commented 13 years ago

As discussed with Danny: the repo data is now fetched using the API, and it's used to automagically determine the slug using the regexes in the Repo model. So these should be set to a proper value now (both repo_regex and slug_regex).

Github: https://github.com/[\w\-\_]+/([\w\-\_]+)/{0,1} Launchpad: https://code.launchpad.net/~[\w\-\_]+/([\w\-\_]+)/[\w\-\_]+

The group in the regexps will be extracted as repo title, slug, and PyPI name if they are not filled in.