Trying to create a new release for l10n_install. I only did this one line change in my make file (I did a release with the previous makefile about two weeks ago): http://drupalcode.org/viewvc/drupal/contributions/profiles/l10n_install/...

Now I'm getting this:

The drupal-org.make file for project Localized Drupal install profile failed verification for CVS tag DRUPAL-7--1-0-BETA2.

http://drupal.org/node/642116 -- to learn more about correcting these errors.

Project information for drupal retrieved. [ok]
Unable to determine project type for drupal. [error]
Project information for l10n_client retrieved. [ok]
Errors were found. [error]
An error occurred at function : drush_drush_make_d_o_verify_makefile [error]

Once these errors are fixed, commit the changes to your drupal-org.make, move the release tag for your project (check the CVS manual to learn how to move tags if necessary), and submit the release node again.

I'm not sure how this is an issue with the makefile. It says "Unable to determine project type for drupal.", which I'm not even supposed to specify in the make file. Just the core version. So I'm thinking this is probably a bigger systemic issue.

CommentFileSizeAuthor
#40 Selection_154-thumb.png35.24 KBjanusman

Comments

damien tournoud’s picture

Priority: Normal » Critical

Erm.

Someone title-cased the "Drupal Project" taxonomy term (from Drupal project to Drupal Project), breaking the packaging script.

damien tournoud’s picture

Moved all the terms back to their initial casing.

Drupal doesn't do title-casing *anywhere*, who decided that Drupal.org should do title-casing? *sigh*

gábor hojtsy’s picture

Erm, well. I'm not sure about this title casing process, but heard about it. Drupal itself does not use title case decidedly. Not sure why drupal.org would do it.

gábor hojtsy’s picture

Status: Active » Fixed

Damien fixed this by fixing the taxonomy term name and regenerating the project XMLs.

lisarex’s picture

Hi guys, that was me. I didn't realise things would break.

But yes, Drupal.org is supposed to be using title case according to our style guide. See the Headings (Capitalization) section on https://infrastructure.drupal.org/drupal.org-style-guide/editorial.html

(This also needs to move to Docs format and there's already an issue open)

damien tournoud’s picture

@lisarex: things broke because they are not robust enough / not properly designed. So don't give you any hard time about that.

The point here (mine and Gabor's) is different, Drupal has been voluntary avoiding title-casing for years, it seems very weird to get back to it now, without a strong reason.

lisarex’s picture

@damien, thanks :)

There isn't widespread knowledge that we're supposed to use title case, at least on main headings.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

snufkin’s picture

Status: Closed (fixed) » Active

I am getting this error again.

Seems it was fixed in drush make: #950018: Unable to determine project type for drupal, and I am not getting it on local either when using my full makefile which has project[] = drupal in it, could it be that the drush make needs updating on d.o?

janusman’s picture

gábor hojtsy’s picture

Guys, I cannot make a security update for the l10n_install distro (or any update at all in fact), due to this bug. :|

gábor hojtsy’s picture

Note that I checked drush from the drupal.org docroot and it does not seem to have make installed. I don't know where to look :|

gábor hojtsy’s picture

This was fixed in drush_make 6.x-2.1, so that version or later would be good.

hunmonk’s picture

This was fixed in drush_make 6.x-2.1, so that version or later would be good.

no, it would probably be really bad to update to that version... ;)

for some reason, nobody updated drush_make on drupal.org in the git migration, at least as far as i can tell. it's still a CVS checkout of DRUPAL-6--2-0-BETA5. there have been major changes on the 2.x branch since then, and updating will almost assuredly break things even worse than they are now.

i can't fix this alone, we need to bring in somebody who's more familiar with the current state of drush_make, specifically the drush_make drupalorg plugin that drives the distro packaging.

gábor hojtsy’s picture

Well, I think the patch from http://drupal.org/node/950018#comment-4161076 got applied before but is currently not applied to that drush_make copy(?). It is really a very simple patch, just renamed Drupal project to Drupal core in the system.

dnotes’s picture

I believe that #1105820: converted install profile doesn't pass validation was a duplicate of this issue.

anarcat’s picture

I fail to see what big breakage would occur by upgrading from a 2.0-beta to 2.x, can you clarify? Do you mean specifically 2.1 or would an upgrade to 2.2 fix this?

My opinion is that we should follow drush make's 2.x branch. Right now, things are just completely broken for distros, I fail to see how it could possibly be worse. 2.2 works well right now...

mermentau’s picture

Subscribe

gerhard killesreiter’s picture

I've manually applied the patch from http://drupal.org/node/950018#comment-4161076 to the version that d.o runs.

Before that I had udated to 6.x-2.2 but that broke things even more snce the "verify makefile" isn't contained in that release.

gábor hojtsy’s picture

Now I can save release nodes, but building them does not work still. It displays a big red error box on the unpublished release node page instead:

Packaging error messages
ERROR: Can't find core release for DRUPAL-6-22

Looks like it attempts to check out stuff from CVS or something like that... Clearly needs a bigger update.

gerhard killesreiter’s picture

Didn't help. It seems as if this may not have been updated to git.

sdboyer’s picture

I can verify at least that this was never really tested before the Git migration went live, unfortunately. To this day I don't really understand that well how the system is put together, so I'm not sure exactly where the problem is. I assume it's probably in the makefile-handling plugin in drupalorg module, but I don't quite know.

hunmonk’s picture

My opinion is that we should follow drush make's 2.x branch. Right now, things are just completely broken for distros, I fail to see how it could possibly be worse. 2.2 works well right now...

i'm guessing you're using drush_make locally to say that. drupal.org uses a drush plugin for it's makefile handling, and that was broken horribly in post 2.x beta releases -- i have no idea if it was ever properly fixed, or if it was updated to deal with the git migration. this is why i'm requesting some input/assistance from the drush_make maintainers.

anarcat’s picture

Yes, we are using drush_make locally, extensively.

I am not aware of how drupal.org uses drush make or drush, but if this is documented or if I am given access, I could help.

This is a critical issue for us people that are trying to bring distributions back on Drupal.org, and I would be willing to spend some time to fix this. I am one of the Drush maintainers and I have contributed multiple patches to drush_make also, so I know my way around.

@killes - regarding the "verify makefile" task missing - how about we just ditch that? Effectively, creating a release *will* verify the makefile, and if we use the "standard" drush_make, then people can verify the makefile all by themselves, offline, without asking drupal.org.

I think we should focus on a small, simple fix, even if this means reduced functionality.

gábor hojtsy’s picture

Well, verifying the makefile before the release node is made is to keep the sanity of the drupal.org people. If the makefile is not right, the tag will already have a release node locked to it (unpublished), and people will submit bug reports to remove their bugos release nodes (which they cannot do themselves). The pre-node-creation check to ensure the packaging can be done is important to make things moving instead of being stuck in the infrastructure queue for your project.

anarcat’s picture

Okay, point taken. Let's see here...

In 2.2, verify is still there, it was just renamed:

anarcat@marcos:.drush$ wget http://ftp.drupal.org/files/projects/drush_make-6.x-2.2.tar.gz
anarcat@marcos:.drush$ tar zxf drush_make-6.x-2.2.tar.gz
anarcat@marcos:.drush$ drush help | grep verify
 convert-makefile      Convert the specified makefile to a drupal.org friendly format, and verify the converted file.
 verify-makefile       Verify the specified makefile is in a drupal.org-friendly format.

It just complied with Drush4 requirements that commands do not have spaces in them.

Can we try again? :)

anarcat’s picture

Status: Active » Needs review

Also note that if you're going to fiddle around drupal.org code like this, you might as well try this RTBC patch which would fix this issue for some of us: #751242: Install profiles cannot create releases with a non drupal-org makefile.

Thanks for looking into this, Gerhard!

gerhard killesreiter’s picture

So, the idea is to use the 2.2 version of drush_make and change the call from "verify makefile" to "verify-makefile"? I'd try that if I knew where the all was located...

anarcat’s picture

That is correct. I would also love to help, but I have also no idea where it is... Maybe in the frontend code, a .module somewhere in the drupal.org site?

gerhard killesreiter’s picture

got it, it's in project_verify_package.pages.inc in /var/www/drupal.org/htdocs/sites/all/modules/drupalorg/project_verify_package
I'll try that later. But I am afraid that it may not work due to the git migration

anarcat’s picture

We are successfully using drush_make to download packages from drupal.org through git right now, it works fine. :)

Thanks for looking into this again!

mermentau’s picture

I just had success with a Drupal 7.2 Install Profile dev release using:

core = 7.2

; Themes
projects[mayo] = "1.1"

; default modules
projects[backup_migrate][subdir] = "contrib"
projects[backup_migrate][version] = "2.1"

projects[advanced_help][subdir] = "contrib"
projects[advanced_help][version] = "1.0-beta1"

This is progress since it wouldn't work for weeks. I don't know the actual packaging schedule so can't verify if the packaging will be done.

Thanks to somebody for sure.

gábor hojtsy’s picture

Yes, the release node creation was fixed above, packaging throws the above CVS related errors, so your package will not be created I think...

dww’s picture

Sorry I haven't been able to deal with this yet. Mea culpa -- this was one of the Git migration messes I should have cleaned up and I didn't. Glad to see progress being made here. I'll circle back on Monday and try to help clear up any remaining questions/confusion/problems. I don't have energy now, and I won't have time before then to focus on this. But, this issue is now near the top of my Drupal-related TODO list for Monday.

Thanks,
-Derek

mermentau’s picture

The .make file was accepted as in #32 above, but when the packaging roles around it gives this error:

Packaging error messages

  ERROR: Can't find core release for DRUPAL-7-2
dww’s picture

Assigned: Unassigned » dww
Status: Needs review » Fixed

Just spent a few hours testing, fixing, and deploying all the bugs in here. Distro packaging is (mostly) now working again on d.o.

However, there's one feature we lost, which we should attempt to fix ASAP:

#1178942: distribution packaging plugin doesn't record package contents

But, the critical packaging bug here is now fixed, and folks should be able to make distro releases again.

dww’s picture

Sorry, for completeness, here's exactly what I did:

Any further problems with distro packaging should just go into new issues.

Thanks and sorry all this was broken for so long. Life hasn't been particularly kind to me recently, so I haven't had the bandwidth to deal with stuff like this that I normally do...

gábor hojtsy’s picture

Thanks, my 6.x release at http://drupal.org/node/1177666 got rebuilt and looks good, and I've just submitted a 7.x release at http://drupal.org/node/1179216 which is going to be built soon hopefully :)

gábor hojtsy’s picture

Now I have problems with releases not showing up on the project page :| #1179726: project_release_supported_versions not updated when release is manually published

janusman’s picture

StatusFileSize
new35.24 KB

Not sure if this is related, but I can't seem to get my install profile packaged ... and trying to verify a one-liner makefile still throws errors (but now a different one):

The command 'drush.php verify-makefile -' could not be found

Attached screenshot:

dnotes’s picture

Thank you so much! I was able to make a release of the install profile this time. I did get janusman's error when attempting to verify my makefile, but it didn't seem to affect the release of the install profile. Perhaps it should be a separate issue? At the least it no longer seems critical as long as it's possible to make releases.

dww’s picture

@Gabor: That bug is over at #1098536: Releases block broken on project pages - doesn't show newly published security release -- thanks for the reminder that it's still broken. ;)

@janusman and @dnotes: Yeah, let's move that to a new issue. This one is fixed and already getting a bit too unwieldy. Let's deal with the verify bug over at #1181554: Validation errors when verifying drupal-org.make files for distribution packaging

Thanks,
-Derek

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.