You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by Grant Ingersoll <gs...@apache.org> on 2008/10/14 14:13:09 UTC

Fwd: DOAP Error Report

Looks like something got screwed up w/ the DOAP file...

Begin forwarded message:

> From: apsite@apache.org
> Date: October 13, 2008 8:29:44 PM EDT
> To: Site Development <si...@apache.org>
> Subject: DOAP Error Report
> Reply-To: site-dev@apache.org
>
> Errors getting files
> Failed to get 'http://lucene.apache.org/java/docs/doap.rdf'
> Status = 'HTTP/1.1 404 Not Found
> '
> Processing errors


---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-dev-help@lucene.apache.org


Re: DOAP Error Report

Posted by Michael McCandless <lu...@mikemccandless.com>.
Grant Ingersoll wrote:

>
> On Oct 14, 2008, at 4:30 PM, Michael McCandless wrote:
>
>>
>> Chris Hostetter wrote:
>>
>>>
>>> : I was confused (when releasing 2.4.0) because there was alot of  
>>> stuff in there
>>> : that looked like leftover cruft from before we switched much of  
>>> the
>>> : documentation to be versioned with releases.
>>>
>>> i think you made the right call ... there's just a few things tha  
>>> sliped
>>> through the cracks, if we take care of them the right way we won't  
>>> have
>>> these problems in the future.
>>>
>>> : In fact, shouldn't we move doap.rdf from /lucene/
>>> :
>>> :   https://svn.apache.org/repos/asf/lucene/java/trunk/docs/doap.rdf
>>> :
>>> : to:
>>> :
>>> :   https://svn.apache.org/repos/asf/lucene/java/site/docs/doap.rdf
>>>
>>> just to clarify: site/docs are the website docs that aren't version
>>> specific, and trunk/docs are hte docs included in every release  
>>> that are
>>> version specific ... correct?  (this info doesn't seme to have  
>>> ever made
>>> it into the HowToUpdateTheWebsite) .. if that's the case, then i  
>>> think you
>>> are correct.
>>>
>>> the docs/api redirect i hacked into the live site (and you
>>> thankfully fixed for me) should also probably be moved to here...
>>>
>>>
>>> https://svn.apache.org/repos/asf/lucene/java/site/docs/.htaccess
>>> (now that i realize it exists)
>>
>> OK I did this and it looks like it's working.  Will hold breath for  
>> site refresh...
>>
>> But.... under Resources -> Developers, there is a link to get to  
>> the nightly documentation.  That works, but then when I click on  
>> any of the links under Javadocs, eg this one:
>>
>>   http://lucene.apache.org/java/docs/nightly/api/index.html
>>
>> I hit HTTP 404.
>>
>> Grant isn't your nightly cron supposed to copy up the nightly  
>> javadocs?  It seems to be copying up the static website docs, just  
>> not the javadocs?  Or, should we redirect to hudson?  Last time we  
>> talked about it:
>>
>>   http://markmail.org/message/6z2nibxzxus5mzu2
>>
>> it wasn't clear what consensus was reached as to whether nightly  
>> javadocs should come from hudson vs flat files copied into p.a.o.
>
> Here's my cron:
> #!/bin/sh
> /usr/local/bin/svn export --force http://svn.apache.org/repos/asf/lucene/java/site/docs 
>  /www/lucene.apache.org/java/docs
> /usr/local/bin/svn export --force http://svn.apache.org/repos/asf/lucene/java/trunk/docs 
>  /www/lucene.apache.org/java/docs/nightly
>
> I thought we were redirecting.  I seem to recall putting  
> an .htaccess into that directory to redirect to Hudson, but it isn't  
> there now.

Ahh OK now it makes sense.  We lost that when I moved docs ->  
docs.old.  I just put it back.  Also, I'll check it into svn.

Mike

---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-dev-help@lucene.apache.org


Re: DOAP Error Report

Posted by Michael McCandless <lu...@mikemccandless.com>.
I agree we should spell this out.  I'll update the wiki.

Mike

Chris Hostetter wrote:

>
> : So now the lucene.apache.org/java/doc is entirely reproducible  
> from svn,
> : except for that cron job.
>
> Mike/Grant: I'd be lying if i said i understood how things work  
> right now
> ... would you mind double checking the wiki page on this and  
> updating ...
>
>    http://wiki.apache.org/lucene-java/HowToUpdateTheWebsite
>
> ...i get the sense that it should have some mention of
> lucene/java/trunk/docs vs lucene/java/site/ and clarification of which
> ones (if any) need manually published and which ones are updated
> automaticly by the cron.
>
>
>
> -Hoss
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: java-dev-unsubscribe@lucene.apache.org
> For additional commands, e-mail: java-dev-help@lucene.apache.org
>


---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-dev-help@lucene.apache.org


Re: DOAP Error Report

Posted by Chris Hostetter <ho...@fucit.org>.
: So now the lucene.apache.org/java/doc is entirely reproducible from svn,
: except for that cron job.

Mike/Grant: I'd be lying if i said i understood how things work right now 
... would you mind double checking the wiki page on this and updating ... 

    http://wiki.apache.org/lucene-java/HowToUpdateTheWebsite

...i get the sense that it should have some mention of 
lucene/java/trunk/docs vs lucene/java/site/ and clarification of which 
ones (if any) need manually published and which ones are updated 
automaticly by the cron.



-Hoss


---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-dev-help@lucene.apache.org


Re: DOAP Error Report

Posted by Michael McCandless <lu...@mikemccandless.com>.
OK I just fixed the .htaccess (already checked into svn) to do this  
redirect.  It should be fixed on next site push.

So now the lucene.apache.org/java/doc is entirely reproducible from  
svn, except for that cron job.

Mike

Grant Ingersoll wrote:

>
> On Oct 14, 2008, at 4:30 PM, Michael McCandless wrote:
>
>>
>> Chris Hostetter wrote:
>>
>>>
>>> : I was confused (when releasing 2.4.0) because there was alot of  
>>> stuff in there
>>> : that looked like leftover cruft from before we switched much of  
>>> the
>>> : documentation to be versioned with releases.
>>>
>>> i think you made the right call ... there's just a few things tha  
>>> sliped
>>> through the cracks, if we take care of them the right way we won't  
>>> have
>>> these problems in the future.
>>>
>>> : In fact, shouldn't we move doap.rdf from /lucene/
>>> :
>>> :   https://svn.apache.org/repos/asf/lucene/java/trunk/docs/doap.rdf
>>> :
>>> : to:
>>> :
>>> :   https://svn.apache.org/repos/asf/lucene/java/site/docs/doap.rdf
>>>
>>> just to clarify: site/docs are the website docs that aren't version
>>> specific, and trunk/docs are hte docs included in every release  
>>> that are
>>> version specific ... correct?  (this info doesn't seme to have  
>>> ever made
>>> it into the HowToUpdateTheWebsite) .. if that's the case, then i  
>>> think you
>>> are correct.
>>>
>>> the docs/api redirect i hacked into the live site (and you
>>> thankfully fixed for me) should also probably be moved to here...
>>>
>>>
>>> https://svn.apache.org/repos/asf/lucene/java/site/docs/.htaccess
>>> (now that i realize it exists)
>>
>> OK I did this and it looks like it's working.  Will hold breath for  
>> site refresh...
>>
>> But.... under Resources -> Developers, there is a link to get to  
>> the nightly documentation.  That works, but then when I click on  
>> any of the links under Javadocs, eg this one:
>>
>>   http://lucene.apache.org/java/docs/nightly/api/index.html
>>
>> I hit HTTP 404.
>>
>> Grant isn't your nightly cron supposed to copy up the nightly  
>> javadocs?  It seems to be copying up the static website docs, just  
>> not the javadocs?  Or, should we redirect to hudson?  Last time we  
>> talked about it:
>>
>>   http://markmail.org/message/6z2nibxzxus5mzu2
>>
>> it wasn't clear what consensus was reached as to whether nightly  
>> javadocs should come from hudson vs flat files copied into p.a.o.
>
> Here's my cron:
> #!/bin/sh
> /usr/local/bin/svn export --force http://svn.apache.org/repos/asf/lucene/java/site/docs 
>  /www/lucene.apache.org/java/docs
> /usr/local/bin/svn export --force http://svn.apache.org/repos/asf/lucene/java/trunk/docs 
>  /www/lucene.apache.org/java/docs/nightly
>
> I thought we were redirecting.  I seem to recall putting  
> an .htaccess into that directory to redirect to Hudson, but it isn't  
> there now.
>
> -Grant
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: java-dev-unsubscribe@lucene.apache.org
> For additional commands, e-mail: java-dev-help@lucene.apache.org
>


---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-dev-help@lucene.apache.org


Re: DOAP Error Report

Posted by Grant Ingersoll <gs...@apache.org>.
On Oct 14, 2008, at 4:30 PM, Michael McCandless wrote:

>
> Chris Hostetter wrote:
>
>>
>> : I was confused (when releasing 2.4.0) because there was alot of  
>> stuff in there
>> : that looked like leftover cruft from before we switched much of the
>> : documentation to be versioned with releases.
>>
>> i think you made the right call ... there's just a few things tha  
>> sliped
>> through the cracks, if we take care of them the right way we won't  
>> have
>> these problems in the future.
>>
>> : In fact, shouldn't we move doap.rdf from /lucene/
>> :
>> :   https://svn.apache.org/repos/asf/lucene/java/trunk/docs/doap.rdf
>> :
>> : to:
>> :
>> :   https://svn.apache.org/repos/asf/lucene/java/site/docs/doap.rdf
>>
>> just to clarify: site/docs are the website docs that aren't version
>> specific, and trunk/docs are hte docs included in every release  
>> that are
>> version specific ... correct?  (this info doesn't seme to have ever  
>> made
>> it into the HowToUpdateTheWebsite) .. if that's the case, then i  
>> think you
>> are correct.
>>
>> the docs/api redirect i hacked into the live site (and you
>> thankfully fixed for me) should also probably be moved to here...
>>
>>
>> https://svn.apache.org/repos/asf/lucene/java/site/docs/.htaccess
>> (now that i realize it exists)
>
> OK I did this and it looks like it's working.  Will hold breath for  
> site refresh...
>
> But.... under Resources -> Developers, there is a link to get to the  
> nightly documentation.  That works, but then when I click on any of  
> the links under Javadocs, eg this one:
>
>    http://lucene.apache.org/java/docs/nightly/api/index.html
>
> I hit HTTP 404.
>
> Grant isn't your nightly cron supposed to copy up the nightly  
> javadocs?  It seems to be copying up the static website docs, just  
> not the javadocs?  Or, should we redirect to hudson?  Last time we  
> talked about it:
>
>    http://markmail.org/message/6z2nibxzxus5mzu2
>
> it wasn't clear what consensus was reached as to whether nightly  
> javadocs should come from hudson vs flat files copied into p.a.o.

Here's my cron:
#!/bin/sh
/usr/local/bin/svn export --force http://svn.apache.org/repos/asf/lucene/java/site/docs 
  /www/lucene.apache.org/java/docs
/usr/local/bin/svn export --force http://svn.apache.org/repos/asf/lucene/java/trunk/docs 
  /www/lucene.apache.org/java/docs/nightly

I thought we were redirecting.  I seem to recall putting an .htaccess  
into that directory to redirect to Hudson, but it isn't there now.

-Grant

---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-dev-help@lucene.apache.org


Re: DOAP Error Report

Posted by Michael McCandless <lu...@mikemccandless.com>.
Chris Hostetter wrote:

>
> : I was confused (when releasing 2.4.0) because there was alot of  
> stuff in there
> : that looked like leftover cruft from before we switched much of the
> : documentation to be versioned with releases.
>
> i think you made the right call ... there's just a few things tha  
> sliped
> through the cracks, if we take care of them the right way we won't  
> have
> these problems in the future.
>
> : In fact, shouldn't we move doap.rdf from /lucene/
> :
> :   https://svn.apache.org/repos/asf/lucene/java/trunk/docs/doap.rdf
> :
> : to:
> :
> :   https://svn.apache.org/repos/asf/lucene/java/site/docs/doap.rdf
>
> just to clarify: site/docs are the website docs that aren't version
> specific, and trunk/docs are hte docs included in every release that  
> are
> version specific ... correct?  (this info doesn't seme to have ever  
> made
> it into the HowToUpdateTheWebsite) .. if that's the case, then i  
> think you
> are correct.
>
> the docs/api redirect i hacked into the live site (and you
> thankfully fixed for me) should also probably be moved to here...
>
>
> https://svn.apache.org/repos/asf/lucene/java/site/docs/.htaccess
> (now that i realize it exists)

OK I did this and it looks like it's working.  Will hold breath for  
site refresh...

But.... under Resources -> Developers, there is a link to get to the  
nightly documentation.  That works, but then when I click on any of  
the links under Javadocs, eg this one:

     http://lucene.apache.org/java/docs/nightly/api/index.html

I hit HTTP 404.

Grant isn't your nightly cron supposed to copy up the nightly  
javadocs?  It seems to be copying up the static website docs, just not  
the javadocs?  Or, should we redirect to hudson?  Last time we talked  
about it:

     http://markmail.org/message/6z2nibxzxus5mzu2

it wasn't clear what consensus was reached as to whether nightly  
javadocs should come from hudson vs flat files copied into p.a.o.

Mike


---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-dev-help@lucene.apache.org


Re: DOAP Error Report

Posted by Michael McCandless <lu...@mikemccandless.com>.
Chris Hostetter wrote:

> : I was confused (when releasing 2.4.0) because there was alot of  
> stuff in there
> : that looked like leftover cruft from before we switched much of the
> : documentation to be versioned with releases.
>
> i think you made the right call ... there's just a few things tha  
> sliped
> through the cracks, if we take care of them the right way we won't  
> have
> these problems in the future.

I agree.

> : In fact, shouldn't we move doap.rdf from /lucene/
> :
> :   https://svn.apache.org/repos/asf/lucene/java/trunk/docs/doap.rdf
> :
> : to:
> :
> :   https://svn.apache.org/repos/asf/lucene/java/site/docs/doap.rdf
>
> just to clarify: site/docs are the website docs that aren't version
> specific, and trunk/docs are hte docs included in every release that  
> are
> version specific ... correct?  (this info doesn't seme to have ever  
> made
> it into the HowToUpdateTheWebsite) .. if that's the case, then i  
> think you
> are correct.

That is my understanding.  OK I will move doap.rdf over.

> the docs/api redirect i hacked into the live site (and you
> thankfully fixed for me) should also probably be moved to here...

> https://svn.apache.org/repos/asf/lucene/java/site/docs/.htaccess
> (now that i realize it exists)

If we just add the redirect into this file, and check it into svn, and  
move doap.rdf over, then the entire /www/people.apache.org/lucene/java/ 
docs can be regenerated from svn, except for the nightly docs that  
Grant's cronjob copies over.

Mike

---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-dev-help@lucene.apache.org


Re: DOAP Error Report

Posted by Chris Hostetter <ho...@fucit.org>.
: I was confused (when releasing 2.4.0) because there was alot of stuff in there
: that looked like leftover cruft from before we switched much of the
: documentation to be versioned with releases.

i think you made the right call ... there's just a few things tha sliped 
through the cracks, if we take care of them the right way we won't have 
these problems in the future.

: In fact, shouldn't we move doap.rdf from /lucene/
: 
:   https://svn.apache.org/repos/asf/lucene/java/trunk/docs/doap.rdf
: 
: to:
: 
:   https://svn.apache.org/repos/asf/lucene/java/site/docs/doap.rdf

just to clarify: site/docs are the website docs that aren't version 
specific, and trunk/docs are hte docs included in every release that are 
version specific ... correct?  (this info doesn't seme to have ever made 
it into the HowToUpdateTheWebsite) .. if that's the case, then i think you 
are correct.

the docs/api redirect i hacked into the live site (and you 
thankfully fixed for me) should also probably be moved to here...


https://svn.apache.org/repos/asf/lucene/java/site/docs/.htaccess
(now that i realize it exists)

-Hoss


---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-dev-help@lucene.apache.org


Re: DOAP Error Report

Posted by Michael McCandless <lu...@mikemccandless.com>.
Chris Hostetter wrote:

> : OK, I 'wget'ted the doap file into the directory.  Should take a  
> bit to
> : propagate.   Not sure what is up w/ it since we never had it there  
> before.
>
> actually, it looks like it was at one point ;) ...
>
> hossman@minotaur$ pwd
> /www/lucene.apache.org/java
> hossman@minotaur$ ls -al docs.old/doap.rdf
> -rw-r--r--  1 gsingers  lucene  2318 Jun 22  2007 docs.old/doap.rdf

This was my bad: I moved docs to docs.old and then repopulated docs.

I was confused (when releasing 2.4.0) because there was alot of stuff  
in there that looked like leftover cruft from before we switched much  
of the documentation to be versioned with releases.

In fact, shouldn't we move doap.rdf from /lucene/

   https://svn.apache.org/repos/asf/lucene/java/trunk/docs/doap.rdf

to:

   https://svn.apache.org/repos/asf/lucene/java/site/docs/doap.rdf

?

It's that latter directory that has the sources for http://lucene.apache.org/java/docs/* 
.

> THe other thing that's a little weird now that i poke arround, is that
> this URL use to redirect to the latest docs on hudson and now it's a
> 404...
>
> 	http://lucene.apache.org/java/docs/api
>
> hossman@minotaur$ cat docs.old/api/.htaccess
> Redirect permanent /java/docs/api
> http://hudson.zones.apache.org/hudson/job/Lucene-trunk/javadoc/
>
> I added a new .htaccess at the /java level that should (hopefull) take
> care of this, and shouldn't vanish/move the next time we have a  
> release

Thanks Hoss.

I'll update the ReleaseTodo to not mess this up next time ;)

Oh wait -- now I'm getting HTTP 500 for http://lucene.apache.org/ 
java.  Oh I see -- there was an extra newline in the .htaccess that  
confused apache.

BTW there's a nice simple way to test your changes, described here:

     http://www.apache.org/dev/project-site.html

I used that just now to get the .htaccess working right.

Mike

---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-dev-help@lucene.apache.org


Re: DOAP Error Report

Posted by Chris Hostetter <ho...@fucit.org>.
: OK, I 'wget'ted the doap file into the directory.  Should take a bit to
: propagate.   Not sure what is up w/ it since we never had it there before.

actually, it looks like it was at one point ;) ...

hossman@minotaur$ pwd    
/www/lucene.apache.org/java
hossman@minotaur$ ls -al docs.old/doap.rdf 
-rw-r--r--  1 gsingers  lucene  2318 Jun 22  2007 docs.old/doap.rdf

THe other thing that's a little weird now that i poke arround, is that 
this URL use to redirect to the latest docs on hudson and now it's a 
404...

	http://lucene.apache.org/java/docs/api

hossman@minotaur$ cat docs.old/api/.htaccess
Redirect permanent /java/docs/api 
http://hudson.zones.apache.org/hudson/job/Lucene-trunk/javadoc/

I added a new .htaccess at the /java level that should (hopefull) take 
care of this, and shouldn't vanish/move the next time we have a release

fingers crossed for the site sync.


-Hoss


---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-dev-help@lucene.apache.org


Re: DOAP Error Report

Posted by Grant Ingersoll <gs...@apache.org>.
OK, I 'wget'ted the doap file into the directory.  Should take a bit  
to propagate.   Not sure what is up w/ it since we never had it there  
before.

-Grant

On Oct 14, 2008, at 8:13 AM, Grant Ingersoll wrote:

> Looks like something got screwed up w/ the DOAP file...
>
> Begin forwarded message:
>
>> From: apsite@apache.org
>> Date: October 13, 2008 8:29:44 PM EDT
>> To: Site Development <si...@apache.org>
>> Subject: DOAP Error Report
>> Reply-To: site-dev@apache.org
>>
>> Errors getting files
>> Failed to get 'http://lucene.apache.org/java/docs/doap.rdf'
>> Status = 'HTTP/1.1 404 Not Found
>> '
>> Processing errors
>


---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-dev-help@lucene.apache.org


Re: DOAP Error Report

Posted by Michael McCandless <lu...@mikemccandless.com>.
Hmm -- I'll fix.

Mike

Grant Ingersoll wrote:

> Looks like something got screwed up w/ the DOAP file...
>
> Begin forwarded message:
>
>> From: apsite@apache.org
>> Date: October 13, 2008 8:29:44 PM EDT
>> To: Site Development <si...@apache.org>
>> Subject: DOAP Error Report
>> Reply-To: site-dev@apache.org
>>
>> Errors getting files
>> Failed to get 'http://lucene.apache.org/java/docs/doap.rdf'
>> Status = 'HTTP/1.1 404 Not Found
>> '
>> Processing errors
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: java-dev-unsubscribe@lucene.apache.org
> For additional commands, e-mail: java-dev-help@lucene.apache.org
>


---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-dev-help@lucene.apache.org