repositories.rst 1018 B

12345678910111213141516171819202122232425262728293031323334
  1. .. _repositories:
  2. Setting up the package repositories
  3. ===================================
  4. In order to do its work, distro-tracker must know the repositiories to
  5. watch. And among those you should define a default repository that will
  6. be used in priority for package specific information.
  7. With the admin web interface
  8. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  9. The repositories can be configured from the admin web interface which
  10. is accessible as “/admin/” in the package tracker website. Make sure that
  11. you create repositories with "sources" enabled as almost everything is based
  12. on source packages.
  13. With a fixture
  14. ~~~~~~~~~~~~~~
  15. If you want to configure you package tracker to have all the repositories
  16. like on tracker.debian.org, you can load a fixture::
  17. $ ./manage.py loaddata distro_tracker/core/fixtures/debian-repositories.xml
  18. Initial scan
  19. ~~~~~~~~~~~~
  20. Once the repositories have been setup, you should run an initial scan::
  21. $ ./manage.py tracker_update_repositories
  22. This might take a very long time...