Closed (fixed)
Project:
Project
Version:
4.7.x-2.x-dev
Component:
Projects
Priority:
Critical
Category:
Bug report
Assigned:
Reporter:
Created:
17 Aug 2005 at 15:33 UTC
Updated:
15 Mar 2007 at 08:32 UTC
Jump to comment: Most recent file
The "scan for releases" featuer should scan releases for all artifacts types (not just *.zip and *.tar.gz) but others, for example *.pdf (for document based projects) etc. Please see patch for DRUPAL-4-6 branch attached.
| Comment | File | Size | Author |
|---|---|---|---|
| #4 | patch-29050_2.txt | 2.62 KB | rgladwell |
| #3 | patch-29050_1.txt | 2.62 KB | rgladwell |
| #2 | patch-29050-1.txt | 2.6 KB | rgladwell |
| #1 | patch-29050.txt | 1.12 KB | rgladwell |
| patch_8.txt | 1.39 KB | rgladwell |
Comments
Comment #1
rgladwell commentedPlease ignore last patch: it includes debugging code. Please use latest patch (attached).
Comment #2
rgladwell commentedAdded cumulative patch (attached) to display all new releases discovered during release scan process for clarity.
Comment #3
rgladwell commentedUpdated code style as per IRC chat:
Comment #4
rgladwell commentedLatest update with all strings translated.
Comment #5
pfaocleShould a list of support release file types be configurable?
Comment #6
pfaocleLines:
should be:
Comment #7
jorditr commentedHi. I've manually (and carefully) added that patch to my release.inc file and I got some troubles. It detects other files other than *.zip and *.tar.gz (*.pdf for example), so it works, but the /admin/settings/project/reload drops a white screen, no menus, nothing. Back to the project page it lists as last released file the proper one, so the process of scanning the release directory and that produced the white screen is right, it has been done.
Probably as a side effect the "View older releases" links drops a white screen instead of listing the files as properly done on the drupal.org site. Any ideas?
PS.: I'm working on drupal 4.6.6
Comment #8
jorditr commentedAfter digging for a while on some posts I've manage to correct it with this small change on the release.inc file:
Comment #9
jorditr commentedAfter digging for a while on some posts I've manage to correct it with this small change on the release.inc file:
Comment #10
pfaocleCareful now - to me that looks like you're using a CVS version of the project module with Drupal 4.6.x: 4.6 callbacks print the page output directly, whilst 4.7 callbacks return the output.
If you want the new features/fixes in project module, I'd upgrade the site base to 4.7.0-beta6.
Comment #11
jorditr commentedHi paul and thanks for your advise. Nevertheless the project module had small details that didn't worked for me. One was that one and I solved it with that. Now works and that's good. I've customized other small details since I sincerely doubt that the project.module made public here was properly tested, is difficult to believe that was the same one working on the drupal site.
Regarding to go to 4.7 it's completelly impossible by now, there are no enough modules translated to 4.7 among the ones I'm using. I can't bypass those functionallities, but what is certain is that I'm eager to go 4.7 so I'll do it as soon as I can :-)
Comment #12
dwwnow fixed by the new release system and releases-as-nodes with arbitrary file upload.
Comment #13
(not verified) commented