Following up from #1321540: Convert DBTNG to namespaces; separate Drupal bits, database.inc was forgotten in core/includes/database. It should be moved with it's brothers in core/includes :)

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

amateescu’s picture

And now with a working patch.

sun’s picture

Status: Needs review » Reviewed & tested by the community

Will most likely come back green, so RTBC. Thanks!

David Strauss’s picture

Title: database.inc feels lonely in it's database ivory tower » database.inc feels lonely in its database ivory tower

Status: Reviewed & tested by the community » Needs work

The last submitted patch, database_inc-second_try.patch, failed testing.

Crell’s picture

If I'm reading it correctly, #1 is missing the file move.

amateescu’s picture

@Crell, It's there:

diff --git a/core/includes/database/database.inc b/core/includes/database.inc
similarity index 100%
rename from core/includes/database/database.inc
rename to core/includes/database.inc
Tor Arne Thune’s picture

Status: Needs work » Needs review

It's there, but difficult to spot. There was a problem with test bot earlier, so retesting.

Tor Arne Thune’s picture

#1: database_inc-second_try.patch queued for re-testing.

amateescu’s picture

FileSize
2.85 KB

Let's try to move the rename operation at the bottom.

Status: Needs review » Needs work

The last submitted patch, database_inc-7.patch, failed testing.

Tor Arne Thune’s picture

Status: Needs work » Reviewed & tested by the community

Patch in #1 passed, so setting to RTBC as per #2.

Status: Reviewed & tested by the community » Needs work

The last submitted patch, database_inc-7.patch, failed testing.

amateescu’s picture

Status: Needs work » Reviewed & tested by the community

There were some testbot issues, described in #1465780-7: Sporadical test failures for a patch that moves a file, which are resolved now, so back to RTBC.

Dries’s picture

Status: Reviewed & tested by the community » Fixed

Committed to 8.x. Thanks!

xjm’s picture

Title: database.inc feels lonely in its database ivory tower » [HEAD BROKEN] database.inc feels lonely in its database ivory tower
Category: task » bug
Priority: Normal » Critical
Status: Fixed » Reviewed & tested by the community

The file was deleted but not added to the new directory.

Generally it's a good idea to do this before a commit:

git status

to check for untracked files and see what changes are present or staged.

See also:
http://xjm.drupalgardens.com/blog/gitignore

You can also use

git apply --index
xjm’s picture

I'd suggest:

git revert 5c45ddc9cf1
git apply --index database_inc-7.patch
git status
(confirm file is staged)
git commit -am "Issue #1464940 by amateescu: Fixed database.inc feels lonely in its database ivory tower."
git push origin 8.x
devuo’s picture

Yeah, that's what I was going to suggest, except for the commit message :P

Tor Arne Thune’s picture

xjm’s picture

@devuo: Got rid of the [HEAD BROKEN]. :D

patrickd’s picture

Title: [HEAD BROKEN] database.inc feels lonely in its database ivory tower » database.inc feels lonely in its database ivory tower
Status: Reviewed & tested by the community » Fixed

HEAD is now working for me,
phew, I was shocked for a moment xP

I think this is fixed now? :>

xjm’s picture

Category: bug » task
Priority: Critical » Normal

Status: Fixed » Closed (fixed)

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