From Fedora Project Wiki
No edit summary
(Redirect Package Maintainer wiki links to docs.fp.o)
 
(58 intermediate revisions by 7 users not shown)
Line 1: Line 1:
= Renaming Django packages - How to =
= Renaming Django packages - How to =
This page summarizes the progress of transition from Django* and django* to python-django* packages, as submitted in fpc ticket [https://fedorahosted.org/fpc/ticket/146].
This page summarizes the progress of transition from Django* and django* to python-django* packages, as submitted in fpc ticket [https://fedorahosted.org/fpc/ticket/146].
{{admon/caution|This is a caution|This is not a final revision and things may change after discussion of python-devel, so please don't do anything yet :)}}


== Instructions ==
== Instructions ==
* All packages must be re-reviewed (in the review process, state that it is a re-review of existing package): [[Package_Renaming_Process#Re-review_required]].
* All packages must be re-reviewed (in the review process, state that it is a re-review of existing package): [https://docs.fedoraproject.org/en-US/package-maintainers/Package_Renaming_Process/#re_review_required Package Renaming Process: Re-review required].
* Target is Fedora 18 (TODO: discuss on python-devel)
* Target is Fedora 18.
* Be careful of proper Provides/Obsoletes: [[Packaging:Guidelines#Renaming.2FReplacing_Existing_Packages]].
* Be careful of proper Provides/Obsoletes: [https://docs.fedoraproject.org/en-US/packaging-guidelines/#renaming-or-replacing-existing-packages Packaging Guidelines: Renaming/Replacing Existing Packages].
* Add the Provides: django* even if the package was originally named Django*. This will allow the users to install packages by simply typing "yum install django" or "yum install django-foo" with the lowercase "d". This Provide should stay forever, because we want the users to be able to do this.
* Add the Provides: django* even if the package was originally named Django*. This will allow the users to install packages by simply typing "yum install django" or "yum install django-foo" with the lowercase "d". This Provide should stay forever, because we want the users to be able to do this.
* If the package Requires: or BuildRequires: another django package, it should require it with python-django* from now on.


== Examples ==
== Examples ==
Line 22: Line 21:
Version: 1.2.3
Version: 1.2.3
Release: 3
Release: 3
Requires: Django
</pre>
</pre>


Line 30: Line 30:
Version: 1.2.3
Version: 1.2.3
Release: 1
Release: 1
Requires: python-django
# These are added because of the renaming mechanism
# These are added because of the renaming mechanism
Provides: Django-foo = %{version}-%{release} # Provide with macros.
Provides: Django-foo = %{version}-%{release} # Provide with macros.
Line 46: Line 47:
Version: 1.2.3
Version: 1.2.3
Release: 3
Release: 3
Requires: Django
Requires: Django-foo
Requires: django-foobar
</pre>
</pre>


Line 54: Line 58:
Version: 1.2.3
Version: 1.2.3
Release: 1
Release: 1
Requires: python-django
Requires: python-django-foo
Requires: python-django-foobar
# This is added because of the renaming mechanism
# This is added because of the renaming mechanism
Provides: django-bar = %{version}-%{release} # Provide with macros.
Provides: django-bar = %{version}-%{release} # Provide with macros.
Line 73: Line 80:
|-
|-
|Django
|Django
|{{result|pass|mrunge}}
|-
|-
|django-addons
|django-addons
|{{result|pass|beckerde}}
|-
|-
|django-ajax-selects
|django-ajax-selects
|{{result|pass|beckerde}}
|-
|-
|django-annoying
|django-annoying
|{{result|inprogress|kumarpraveen}}
|-
|-
|django-authenticator
|django-authenticator
|{{result|pass|mrunge}}
|-
|-
|django-authopenid
|django-authopenid
|{{result|fail|Nobody}}
|-
|-
|django-authority
|django-authority
|{{result|pass|mrunge}}
|-
|-
|django-avatar
|django-avatar
|{{result|inprogress|kumarpraveen}}
|-
|-
|django-celery
|django-celery
|{{result|pass|mrunge}}
|-
|-
|django-contact-form
|django-contact-form
|{{result|pass|mrunge}}
|-
|-
|django-countries
|django-countries
|{{result|fail|Nobody}}
|-
|-
|django-dpaste
|django-dpaste
|{{result|pass|mrunge}}
|-
|-
|django-evolution
|django-evolution
|{{result|fail|Nobody}}
|-
|-
|django-extra-form-fields
|django-extra-form-fields
|{{result|pass|mrunge}}
|-
|-
|django-filter
|django-filter
|{{result|fail|Nobody}}
|-
|-
|django-flash
|django-flash
|{{result|pass|lbazan}}
|-
|-
|django-followit
|django-followit
|{{result|pass|kumarpraveen}}
|-
|-
|django-keyedcache
|django-keyedcache
|{{result|fail|Nobody}}
|-
|-
|django-kombu
|django-kombu
|{{result|pass|mrunge}}
|-
|-
|django-lint
|django-lint
|{{result|pass|mrunge}}
|-
|-
|django-mako
|django-mako
|{{result|pass|mrunge}}
|-
|-
|django-mptt
|django-mptt
|{{result|pass|mrunge}}
|-
|-
|django-notification
|django-notification
|{{result|pass|mrunge}}
|-
|-
|django-pagination
|django-pagination
|{{result|pass|mrunge}}
|-
|-
|django-picklefield
|django-picklefield
|{{result|pass|mrunge}}
|-
|-
|django-piston
|django-piston
|{{result|pass|mrunge}}
|-
|-
|django-profile
|django-profile
|{{result|fail|Nobody}}
|-
|-
|django-profiles
|django-profiles
|{{result|pass|mrunge}}
|-
|-
|django-pylibmc
|django-pylibmc
|{{result|pass|kumarpraveen}}
|-
|-
|django-recaptcha
|django-recaptcha
|{{result|inprogress|lbazan}}
|-
|-
|django-recaptcha-works
|django-recaptcha-works
|{{result|fail|Nobody}}
|-
|-
|django-registration
|django-registration
|{{result|pass|kumarpraveen}}
|-
|-
|django-reversion
|django-reversion
|{{result|inprogress|mrunge}}
|-
|-
|django-robots
|django-robots
|{{result|pass|mrunge}}
|-
|-
|django-sct
|django-sct
|{{result|fail|mrunge}}
|-
|-
|django-simple-captcha
|django-simple-captcha
|{{result|pass|mrunge}}
|-
|-
|django-sorting
|django-sorting
|{{result|pass|bkabrda}}
|-
|-
|Django-south
|Django-south
|{{result|pass|beckerde}}
|-
|-
|django-staticfiles
|django-staticfiles
|{{result|pass|beckerde}}
|-
|-
|django-tables
|django-tables
|{{result|fail|Nobody}}
|-
|-
|django-tagging
|django-tagging
|{{result|pass|mrunge}}
|-
|-
|django-tastypie
|django-tastypie
|{{result|pass|Cquad}}
|-
|-
|django-threadedcomments
|django-threadedcomments
|{{result|pass|beckerde}}
|-
|-
|django-threaded-multihost
|django-threaded-multihost
|{{result|pass|kumarpraveen}}
|-
|-
|django-tinymce
|django-tinymce
|{{result|pass|yuwang}}
|-
|-
|django-tracking
|django-tracking
|{{result|pass|mrunge}}
|-
|-
|django-typepad
|django-typepad
|{{result|pass|lbazan}}
|}
|}


Line 174: Line 228:
|-
|-
|python-django-debug-toolbar
|python-django-debug-toolbar
|{{result|pass|mrunge}}
|-
|-
|python-django-horizon
|python-django-horizon
|{{result|pass|mrunge}}
|-
|-
|python-django-nose
|python-django-nose
|{{result|pass|mrunge}}
|}
|}

Latest revision as of 10:53, 9 October 2021

Renaming Django packages - How to

This page summarizes the progress of transition from Django* and django* to python-django* packages, as submitted in fpc ticket [1].

Instructions

  • All packages must be re-reviewed (in the review process, state that it is a re-review of existing package): Package Renaming Process: Re-review required.
  • Target is Fedora 18.
  • Be careful of proper Provides/Obsoletes: Packaging Guidelines: Renaming/Replacing Existing Packages.
  • Add the Provides: django* even if the package was originally named Django*. This will allow the users to install packages by simply typing "yum install django" or "yum install django-foo" with the lowercase "d". This Provide should stay forever, because we want the users to be able to do this.
  • If the package Requires: or BuildRequires: another django package, it should require it with python-django* from now on.

Examples

Some examples how to do it.

Django-foo

A package with name starting in uppercase.

Original package:

Name: Django-foo
Version: 1.2.3
Release: 3
Requires: Django

New package:

Name: python-django-foo
Version: 1.2.3
Release: 1
Requires: python-django
# These are added because of the renaming mechanism
Provides: Django-foo = %{version}-%{release} # Provide with macros.
Obsoletes: Django-foo < 1.2.3-4 # Obsolete anything that is lower than the _bumped release_ of the renamed package. Obsolete with hardcoded values of renamed package.
# Add this for good usability, as mentioned above.
Provides: django-foo = %{version}-%{release}

django-bar

A package with name starting in lowercase.

Original package:

Name: django-bar
Version: 1.2.3
Release: 3
Requires: Django
Requires: Django-foo
Requires: django-foobar

New package:

Name: python-django-bar
Version: 1.2.3
Release: 1
Requires: python-django
Requires: python-django-foo
Requires: python-django-foobar
# This is added because of the renaming mechanism
Provides: django-bar = %{version}-%{release} # Provide with macros.
# This is added because of the renaming mechanism, but also for good usability, so it should stay forever in this package.
Obsoletes: django-bar < 1.2.3-4 # Obsolete anything that is lower than the _bumped release_ of the renamed package. Obsolete with hardcoded values of renamed package.

List of Packages

This is the list of all django packages that we are targeting. Please write your name to the Responsible column for the packages that you will take care of, so that we can track what packages are not taken care of at all. When the review process is being done/done and the package is in buildroot, add a proper result mark:

{{result|fail|Nobody}}
{{result|inprogress|Yourname}}
{{result|pass|Yourname}}
Package name Status
Django
Pass pass mrunge
django-addons
Pass pass beckerde
django-ajax-selects
Pass pass beckerde
django-annoying
Inprogress inprogress kumarpraveen
django-authenticator
Pass pass mrunge
django-authopenid
Fail fail Nobody
django-authority
Pass pass mrunge
django-avatar
Inprogress inprogress kumarpraveen
django-celery
Pass pass mrunge
django-contact-form
Pass pass mrunge
django-countries
Fail fail Nobody
django-dpaste
Pass pass mrunge
django-evolution
Fail fail Nobody
django-extra-form-fields
Pass pass mrunge
django-filter
Fail fail Nobody
django-flash
Pass pass lbazan
django-followit
django-keyedcache
Fail fail Nobody
django-kombu
Pass pass mrunge
django-lint
Pass pass mrunge
django-mako
Pass pass mrunge
django-mptt
Pass pass mrunge
django-notification
Pass pass mrunge
django-pagination
Pass pass mrunge
django-picklefield
Pass pass mrunge
django-piston
Pass pass mrunge
django-profile
Fail fail Nobody
django-profiles
Pass pass mrunge
django-pylibmc
django-recaptcha
Inprogress inprogress lbazan
django-recaptcha-works
Fail fail Nobody
django-registration
django-reversion
Inprogress inprogress mrunge
django-robots
Pass pass mrunge
django-sct
Fail fail mrunge
django-simple-captcha
Pass pass mrunge
django-sorting
Pass pass bkabrda
Django-south
Pass pass beckerde
django-staticfiles
Pass pass beckerde
django-tables
Fail fail Nobody
django-tagging
Pass pass mrunge
django-tastypie
Pass pass Cquad
django-threadedcomments
Pass pass beckerde
django-threaded-multihost
django-tinymce
Pass pass yuwang
django-tracking
Pass pass mrunge
django-typepad
Pass pass lbazan

Fix provides to "django-foo" in these:

Package name Status
python-django-debug-toolbar
Pass pass mrunge
python-django-horizon
Pass pass mrunge
python-django-nose
Pass pass mrunge