David Larlet is sharing code with you

Bitbucket is a code hosting site. Unlimited public and private repositories. Free for small teams.

Don't show this again

david / django-roa http://welldev.org/

Turn your models into remote resources that you can access through Django's ORM. ROA stands for Resource Oriented Architecture.

Clone this repository (size: 579.8 KB): HTTPS / SSH
hg clone https://bitbucket.org/david/django-roa
hg clone ssh://hg@bitbucket.org/david/django-roa

Issues

#1 Installation conflicts with other packages

Reported by jfunk

If you must include local copies of 3rd-party modules, please install them as submodules of roa.

I just installed roa and had to track down why one of my projects, which uses the current version of restkit, broke. Your installation overwrote my existing restkit installation with an older one.

Status: resolved Responsible: David Larlet Type: bug Priority: major
Milestone: none Component: none Version: none

Attachments

No attachments added for this issue yet.

Comments and changes

  1. #1 David Larlet

    written

    • Changed status from new to open.

    Thanks for your feedback, that fact is restkit evolves too fast for me to be able to be sure that the latest version doesn't break tests so I prefer to bundle it with roa... but I'll reconsider my position on this topic.

  2. #2 jfunk

    written

    Bundling is fine. Many packages bundle specific versions of 3rd-party libraries. Django bundles a specific version of simplejson, for example, but it is installed under site-packages/django/utils/simplejson, so that it does not conflict with a primary installation.

    Your package is overwriting the primary installation, so if something else needs a newer version, it will no longer work. If a user then reinstalls the newer restkit, roa will break. If you install restkit somewhere under roa, like Django does with simplejson, nothing will break.

  3. #3 David Larlet

    written

    • Changed responsible from nobody to david.

    You're absolutely right, I'll do that asap.

  4. #4 David Larlet

    written

    • Changed status from open to resolved.

Add comment / attachment

Verification: Please write the text from the image in the box (letters only)

captcha

Is that you, Humanoid? Is this me?