Drupal 4.6 API documentation
Hi all, Is there a place where I could find the API documentation for the old Drupal 4.6 release? An archive, a site or something... I need to do some maintenance/development on some old Drupal 4.6 (the owners are not yet willing to upgrade to a more recent release) sites but I can't find the API's for 4.6 anywhere :(. Any help would be greatly appreciated. Best regards, Buzai Andras
Hi, The easiest method it is use the API module and create your own 4.6 api site. Gordon. On 28/01/2011, at 8:50 AM, Buzai Andras wrote:
Hi all,
Is there a place where I could find the API documentation for the old Drupal 4.6 release? An archive, a site or something... I need to do some maintenance/development on some old Drupal 4.6 (the owners are not yet willing to upgrade to a more recent release) sites but I can't find the API's for 4.6 anywhere :(. Any help would be greatly appreciated.
Best regards,
Buzai Andras
Just to clarify, all of the API documentation for any Drupal release is contained in in-code comments, so if you download Drupal 4.6 (or get it from CVS), you will have all of the API documentation along with it. What Gordon is suggesting is that you get the API module, so that you can create your own local site similar to api.drupal.org, so that you'll have the nice user interface, browsing, and formatting for the API documentation. Hope this helps... Jennifer On 1/27/2011 1:52 PM, Gordon Heydon wrote:
The easiest method it is use the API module and create your own 4.6 api site.
On 28/01/2011, at 8:50 AM, Buzai Andras wrote:
Is there a place where I could find the API documentation for the old Drupal 4.6 release?
-- Jennifer Hodgdon * Poplar ProductivityWare www.poplarware.com Drupal web sites and custom Drupal modules
On 27/01/2011 5:48 PM, Jennifer Hodgdon wrote:
Just to clarify, all of the API documentation for any Drupal release is contained in in-code comments, so if you download Drupal 4.6 (or get it from CVS), you will have all of the API documentation along with it. It looks like the 4.7 API is also gone from api.drupal.org.
I'm not familiar with the exact rationale behind removing the old documentation, but I previously found it handy to be able to go back to unsupported releases to learn about the history and the changes in current functions. While I can understand removing old releases to hammer in that they aren't supported, it would still be useful to have old release API documentation existing somewhere on *.drupal.org for historical and educational purposes. Perhaps we could have a static HTML version of the old APIs posted somewhere? --Andrew
Yes, I second that. It would be nice to have a place on *.drupal.org. for the old API's. Buzai On Fri, Jan 28, 2011 at 6:17 AM, Andrew Berry <andrewberry@sentex.net> wrote:
On 27/01/2011 5:48 PM, Jennifer Hodgdon wrote:
Just to clarify, all of the API documentation for any Drupal release is contained in in-code comments, so if you download Drupal 4.6 (or get it from CVS), you will have all of the API documentation along with it.
It looks like the 4.7 API is also gone from api.drupal.org.
I'm not familiar with the exact rationale behind removing the old documentation, but I previously found it handy to be able to go back to unsupported releases to learn about the history and the changes in current functions. While I can understand removing old releases to hammer in that they aren't supported, it would still be useful to have old release API documentation existing somewhere on *.drupal.org for historical and educational purposes.
Perhaps we could have a static HTML version of the old APIs posted somewhere?
--Andrew
One thing you could do would be to use an IDE (Eclipse, NetBeans, Komodo) that supports "mouse hovering" or autocomplete "balloon" documentation of functions, once it has digested a complete Drupal 4.7 site. Victor On Fri, Jan 28, 2011 at 5:03 AM, Buzai Andras <buzai.andras@gmail.com>wrote:
Yes, I second that. It would be nice to have a place on *.drupal.org. for the old API's.
Buzai
On Fri, Jan 28, 2011 at 6:17 AM, Andrew Berry <andrewberry@sentex.net> wrote:
On 27/01/2011 5:48 PM, Jennifer Hodgdon wrote:
Just to clarify, all of the API documentation for any Drupal release is contained in in-code comments, so if you download Drupal 4.6 (or get it
from
CVS), you will have all of the API documentation along with it.
It looks like the 4.7 API is also gone from api.drupal.org.
I'm not familiar with the exact rationale behind removing the old documentation, but I previously found it handy to be able to go back to unsupported releases to learn about the history and the changes in current functions. While I can understand removing old releases to hammer in that they aren't supported, it would still be useful to have old release API documentation existing somewhere on *.drupal.org for historical and educational purposes.
Perhaps we could have a static HTML version of the old APIs posted somewhere?
--Andrew
On Fri, 2011-01-28 at 09:03 +0100, Buzai Andras wrote:
It would be nice to have a place on *.drupal.org. for the old API's.
I agree. In the meantime there's some content on the archive.org: http://web.archive.org/web/20080418102840/api.drupal.org/api/4.6 But it's not complete.
I could set up 4.7 and 4.6 on drupalcontrib.org if there is enough interest. -- psynaptic http://twitter.com/psynaptic http://drupalcontrib.org/
That would be very nice and appreciated :) On Fri, Jan 28, 2011 at 12:57 PM, Richard Burford <lists@freestylesystems.co.uk> wrote:
I could set up 4.7 and 4.6 on drupalcontrib.org if there is enough interest. -- psynaptic http://twitter.com/psynaptic http://drupalcontrib.org/
Ok, I have added Drupal core and developer documentation from cvs.drupal..org for 4.6 and 4.7. There are 9317 queued jobs, so it could take a while to run. I'm running cron via drush now but the number isn't going down (actually, it's going up so there must be more to index). I commented out the break in job_queue_dequeue() so it runs as quickly as possible. I also added job_queue module to the API since it wasn't there already. I'll leave it running, should be up by the end of the day. -- psynaptic http://twitter.com/psynaptic http://drupalcontrib.org/
Richard, thanks for this excellent service (I never knew who was behind it) and for your responsiveness on this request. -Randy On Fri, Jan 28, 2011 at 7:22 AM, Richard Burford < lists@freestylesystems.co.uk> wrote:
Ok, I have added Drupal core and developer documentation from cvs.drupal..org for 4.6 and 4.7. There are 9317 queued jobs, so it could take a while to run. I'm running cron via drush now but the number isn't going down (actually, it's going up so there must be more to index). I commented out the break in job_queue_dequeue() so it runs as quickly as possible. I also added job_queue module to the API since it wasn't there already.
I'll leave it running, should be up by the end of the day.
-- psynaptic http://twitter.com/psynaptic http://drupalcontrib.org/
-- Randy Fay Drupal Module and Site Development randy@randyfay.com +1 970.462.7450
Hi, It seems that it is not working for 4.6 and 4.7 API. Every time I search for something in 4.6 I get redirected to D7 API. I am missing something? Best regards, Buzai On Fri, Jan 28, 2011 at 3:22 PM, Richard Burford <lists@freestylesystems.co.uk> wrote:
Ok, I have added Drupal core and developer documentation from cvs.drupal..org for 4.6 and 4.7. There are 9317 queued jobs, so it could take a while to run. I'm running cron via drush now but the number isn't going down (actually, it's going up so there must be more to index). I commented out the break in job_queue_dequeue() so it runs as quickly as possible. I also added job_queue module to the API since it wasn't there already. I'll leave it running, should be up by the end of the day. -- psynaptic http://twitter.com/psynaptic http://drupalcontrib.org/
The API is still not up-to-date yet. I have been fighting with max_execution_time and memory_limit problems with running 10000 jobs. It is down to almost 6000 now, I'll keep trying and it *should* be up soon. Sorry for the delay. -- psynaptic http://twitter.com/psynaptic http://drupalcontrib.org/
No problem Richard :), I really appreciate what you are doing for us :) Best regards, Buzai On Tue, Feb 1, 2011 at 1:22 PM, Richard Burford <lists@freestylesystems.co.uk> wrote:
The API is still not up-to-date yet. I have been fighting with max_execution_time and memory_limit problems with running 10000 jobs. It is down to almost 6000 now, I'll keep trying and it *should* be up soon. Sorry for the delay.
-- psynaptic http://twitter.com/psynaptic http://drupalcontrib.org/
The Contrib API is finally up to date with 4.6 and 4.7 branches now available for your referencing pleasure! Sorry it took so long to get up, job_queue module was really chugging through them (roughly 10000 jobs) and finally managed to get through. I had to increase the memory_limit and max_execution_time on the server, commented out the break in job_queue_cron and ran drush cron in a while true loop for it to even start to parse the files. I should probably just bypass cron altogether and create a function that I can call from drush php-eval when I need to update the index with so many jobs. -- psynaptic http://twitter.com/psynaptic http://drupalcontrib.org/
The API module (or perhaps job_queue itself) could really use a drush command like that. On Thu, 2011-02-03 at 12:43 +0100, Richard Burford wrote:
The Contrib API is finally up to date with 4.6 and 4.7 branches now available for your referencing pleasure!
Sorry it took so long to get up, job_queue module was really chugging through them (roughly 10000 jobs) and finally managed to get through. I had to increase the memory_limit and max_execution_time on the server, commented out the break in job_queue_cron and ran drush cron in a while true loop for it to even start to parse the files. I should probably just bypass cron altogether and create a function that I can call from drush php-eval when I need to update the index with so many jobs.
-- psynaptic http://twitter.com/psynaptic http://drupalcontrib.org/
Thank you Richard :) There is no need to apologize. You did us a great favor :) Best regards, Buzai On Thu, Feb 3, 2011 at 1:43 PM, Richard Burford <lists@freestylesystems.co.uk> wrote:
The Contrib API is finally up to date with 4.6 and 4.7 branches now available for your referencing pleasure!
Sorry it took so long to get up, job_queue module was really chugging through them (roughly 10000 jobs) and finally managed to get through. I had to increase the memory_limit and max_execution_time on the server, commented out the break in job_queue_cron and ran drush cron in a while true loop for it to even start to parse the files. I should probably just bypass cron altogether and create a function that I can call from drush php-eval when I need to update the index with so many jobs.
-- psynaptic http://twitter.com/psynaptic http://drupalcontrib.org/
Guess these crummy forums actually do help people after all... :) On Thu, Feb 3, 2011 at 5:59 PM, Buzai Andras <buzai.andras@gmail.com> wrote:
Thank you Richard :) There is no need to apologize. You did us a great favor :)
Best regards,
Buzai
On Thu, Feb 3, 2011 at 1:43 PM, Richard Burford <lists@freestylesystems.co.uk> wrote:
The Contrib API is finally up to date with 4.6 and 4.7 branches now available for your referencing pleasure!
Sorry it took so long to get up, job_queue module was really chugging through them (roughly 10000 jobs) and finally managed to get through. I had to increase the memory_limit and max_execution_time on the server, commented out the break in job_queue_cron and ran drush cron in a while true loop for it to even start to parse the files. I should probably just bypass cron altogether and create a function that I can call from drush php-eval when I need to update the index with so many jobs.
-- psynaptic http://twitter.com/psynaptic http://drupalcontrib.org/
On 1/28/2011 12:03 AM, Buzai Andras wrote:
Yes, I second that. It would be nice to have a place on *.drupal.org. for the old API's.
The Drupal documentation team is moving towards not displaying documentation for unsupported versions of Drupal (especially versions as old as 4.x), aside from pages that tell how to upgrade your site to newer versions. The main reason for this decision is that these doc pages show up in internal d.o as well as Google searches, and tend to confuse people who don't realize they're looking at something that is far from current. That said, if you did want to have api.drupal.org display the doc for 4.x, the way to make that happen would be to file an issue (probably in the drupal.org webmasters project), rather than discussing it on this mailing list. Regards, Jennifer -- Jennifer Hodgdon * Poplar ProductivityWare www.poplarware.com Drupal web sites and custom Drupal modules
participants (9)
-
Adam B. Ross -
Andrew Berry -
Buzai Andras -
Gordon Heydon -
Jennifer Hodgdon -
Nikola Kotur -
Randy Fay -
Richard Burford -
Victor Kane