Closed (fixed)
Project:
Project
Version:
4.7.x-2.x-dev
Component:
Releases
Priority:
Normal
Category:
Feature request
Assigned:
Reporter:
Created:
7 Dec 2006 at 07:32 UTC
Updated:
24 Dec 2006 at 06:31 UTC
Jump to comment: Most recent file
Comments
Comment #1
dwwthis was so easy, i decided to just do it (took me ~15 minutes to roll this patch and test it on my local site). ;)
i must sleep now, but i'll try testing this on scratch.d.o. tomorrow. if there are no objections, i'll install on d.o on friday.
cheers,
-derek
Comment #2
dwwi guess i could add code to remove this checkbox if a project has no official releases (the 'snapshot_table' column defaults to 1 in the DB, anyway). not sure if that'd be a helpful UI simplification or needless bloat... input on this would be appreciated. ;)
thanks,
-derek
Comment #3
hunmonk commentedso, if there were no official releases, and the project maintainer checked the box, an end user would be left seeing nothing to download from the project page, right? this is, i guess, fine -- i don't see why a project _has_ to have tarballs listed.
out of curiosity, if a project maintainer does hide the dev snapshot table, is there any point in building the dev tarballs for that project at all? seems like we could get a performance improvement here by having the script that builds the tarballs skip these kinds of projects -- which i know is another level of complexity for this 'simple' patch. just thought i'd bring it up... :)
Comment #4
coreb commentedI'm not a project maintainer, but as someone who occaisonally provides support, I say this is definitely a useful (needed?) improvement. End user's that are not familiar with our (new) versioning scheme will only see that something is available for download. When it doesn't work, they start posting forum/support request issues on it, not realizing that what they are using isn't meant for "production use".
I'll second the optimization hunmonk mentions also. I think there are alot of modules that could be being packaged unneccessarily.
Comment #5
dwwout of curiosity, if a project maintainer does hide the dev snapshot table, is there any point in building the dev tarballs for that project at all?
yes:
that said, i noticed a minor bug in my previous patch. project_release_update_2() was adding this column, but project_release_install() was not. so, new installations would be missing it. attached patch fixes this.
cheers,
-derek
Comment #6
dwwcommitted to DRUPAL-4-7--2, installed on d.o, and project_release_update_2() ran without errors.
the "Display snapshot releases on project page" is hereby open for business. ;)
cheers,
-derek
Comment #7
pwolanin commented@dww - this is a great improvement and I really appreciate all your hard work on this code.
A minor point - when you submit the new settings, there is no confirmation message like 'the settings have been updated', which left me wondering if things were working correctly. Can you add a drupal_set_message() to the _submit function?
Comment #8
dwwcommitted to DRUPAL-4-7--2 (http://drupal.org/cvs?commit=47640) and installed on d.o. thanks for the suggestion.
Comment #9
(not verified) commented