Re: [Django] #18930: Website docs builder should clean to get rid of old docs

2013-02-13 Thread Django
#18930: Website docs builder should clean to get rid of old docs
-+-
 Reporter:  ubernostrum  |Owner:  nobody
 Type:  Bug  |   Status:  closed
Component:  Djangoproject.com|  Version:  1.4
  Web site   |   Resolution:  fixed
 Severity:  Normal   | Triage Stage:  Accepted
 Keywords:   |  Needs documentation:  0
Has patch:  0|  Patch needs improvement:  0
  Needs tests:  0|UI/UX:  0
Easy pickings:  0|
-+-

Comment (by Aymeric Augustin ):

 In
 [changeset:"b35966376ac8c1d8caf05a5e882dfb27325a1593/djangoproject.com"]:
 {{{
 #!CommitTicketReference repository="djangoproject.com"
 revision="b35966376ac8c1d8caf05a5e882dfb27325a1593"
 Fix #19809 -- Don't check if docs exist in DB.

 The docs database is built from the JSON version of the docs, which
 doesn't include special pages such as indexes.

 This reverts commit 1af4480ae19db8c39b07c28df32a12df72a38f0a.

 d51819ecaab91f2d5b91cdc5d01c22b5aeb3f231 has a better and sufficient
 fix.

 Refs #18930.
 }}}

-- 
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-updates+unsubscr...@googlegroups.com.
To post to this group, send email to django-updates@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




Re: [Django] #18930: Website docs builder should clean to get rid of old docs

2013-02-09 Thread Django
#18930: Website docs builder should clean to get rid of old docs
-+-
 Reporter:  ubernostrum  |Owner:  nobody
 Type:  Bug  |   Status:  closed
Component:  Djangoproject.com|  Version:  1.4
  Web site   |   Resolution:  fixed
 Severity:  Normal   | Triage Stage:  Accepted
 Keywords:   |  Needs documentation:  0
Has patch:  0|  Patch needs improvement:  0
  Needs tests:  0|UI/UX:  0
Easy pickings:  0|
-+-
Changes (by Aymeric Augustin ):

 * status:  new => closed
 * resolution:   => fixed


Comment:

 In
 [changeset:"d51819ecaab91f2d5b91cdc5d01c22b5aeb3f231/djangoproject.com"]:
 {{{
 #!CommitTicketReference repository="djangoproject.com"
 revision="d51819ecaab91f2d5b91cdc5d01c22b5aeb3f231"
 Fix #18930 -- Wipe Sphinx build dir between builds.

 This requires serving the docs from another repository, and syncing
 the build dir to the serve dir after the build is finished.
 }}}

-- 
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-updates+unsubscr...@googlegroups.com.
To post to this group, send email to django-updates@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




Re: [Django] #18930: Website docs builder should clean to get rid of old docs

2013-02-09 Thread Django
#18930: Website docs builder should clean to get rid of old docs
-+-
 Reporter:  ubernostrum  |Owner:  nobody
 Type:  Bug  |   Status:  new
Component:  Djangoproject.com|  Version:  1.4
  Web site   |   Resolution:
 Severity:  Normal   | Triage Stage:  Accepted
 Keywords:   |  Needs documentation:  0
Has patch:  0|  Patch needs improvement:  0
  Needs tests:  0|UI/UX:  0
Easy pickings:  0|
-+-
Changes (by aaugustin):

 * status:  closed => new
 * resolution:  fixed =>


Comment:

 I wiped the Document table as well as the xapian index in production.

 Then I did a single rebuild of the docs, and I tried adding a unique index
 on (version, path).

 It failed because of duplicates, which appear to be pages that have been
 converted into directories at some point (ie. topics/auth.txt =>
 topics/auth/index.txt).

 {{{
 >>> from docs.models import *
 >>> from django.db.models import *
 >>> sorted(Document.objects.values_list('release',
 
'path').annotate(count=Count('pk')).filter(count__gt=1).values_list('release__version',
 'path', 'count'))
 [(u'1.5', u'topics/auth', 2),
  (u'1.5', u'topics/testing', 2),
  (u'dev', u'ref/class-based-views', 2),
  (u'dev', u'ref/contrib/gis/install', 2),
  (u'dev', u'topics/auth', 2),
  (u'dev', u'topics/class-based-views', 2),
  (u'dev', u'topics/testing', 2)]
 }}}

-- 
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-updates+unsubscr...@googlegroups.com.
To post to this group, send email to django-updates@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




[Django] #18930: Website docs builder should clean to get rid of old docs

2012-09-08 Thread Django
#18930: Website docs builder should clean to get rid of old docs
-+-
   Reporter: |  Owner:  nobody
  ubernostrum| Status:  new
   Type:  Bug|Version:  1.4
  Component: |   Keywords:
  Djangoproject.com Web site |  Has patch:  0
   Severity:  Normal |Needs tests:  0
   Triage Stage:  Accepted   |  Easy pickings:  0
Needs documentation:  0  |
Patch needs improvement:  0  |
  UI/UX:  0  |
-+-
 Currently it doesn't, which is why we got ticket #18699, and why
 [https://docs.djangoproject.com/en/dev/internals/contributing/writing-code
 /branch-policy/ this document] still exists on-site even though it was
 removed from the docs months ago.

 A step should be added to clean out old generated HTML, so we don't run
 into this again.

-- 
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To post to this group, send email to django-updates@googlegroups.com.
To unsubscribe from this group, send email to 
django-updates+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.