Rename admin/site-building to admin/structure

catch - July 16, 2009 - 18:05
Project:Drupal
Version:7.x-dev
Component:base system
Category:task
Priority:critical
Assigned:Unassigned
Status:closed
Issue tags:D7UX, IA, Novice, Usability
Description

d7ux IA changes require changing admin/site-building to admin/structure and 'Site building' to 'Structure' - we need to find and replace all current paths (don't forget tests).

#1

JuliaKM - July 18, 2009 - 20:24
Status:active» needs review

The following patch changes the name from Site Building to Structure in:
INSTALL.txt
simpletest.module
system.module
system.test

I wasn't sure whether to change the wording in INSTALL.txt and thought it was better to do so and then have someone else undo it later on.

I'm still really new at creating core patches so please let me know if I made any silly newbie mistakes.

AttachmentSizeStatusTest resultOperations
sitebuildingrename_521474.patch5.91 KBIdlePassed: 11695 passes, 0 fails, 0 exceptionsView details

#2

catch - July 18, 2009 - 20:28
Status:needs review» needs work

OK this is good and nice catch on INSTALL.txt, but we also need to rename all admin/build URLs to admin/structure as well - you should be able to do a global find and replace on the whole Drupal directory for that.

Also, not introduced by this patch, but simpletest now lives at admin/development/testing instead of admin/build/testing - should probably change that since we need to change that line anyway.

#3

JuliaKM - July 18, 2009 - 22:15
Assigned to:Anonymous» JuliaKM

Thanks for the quick feedback. I'll rename the admin/build to admin/structure and fix the simpletest path this evening and post an update tonight.

#4

JuliaKM - July 19, 2009 - 02:15
Assigned to:JuliaKM» Anonymous
Status:needs work» needs review

Here's a second try. When I tested the paths after clearing cache locally, I didn't see any remaining legacy admin/build paths.

AttachmentSizeStatusTest resultOperations
sitebuildingrename_521474_1827022.patch201.25 KBIdleFailed: Failed to apply patch.View details

#5

JuliaKM - July 19, 2009 - 02:16

Just wanted to add that the path for simpletest in INSTALL.txt should now be fixed as well.

#6

System Message - July 19, 2009 - 02:30
Status:needs review» needs work

The last submitted patch failed testing.

#7

JuliaKM - July 19, 2009 - 11:18
Status:needs work» needs review

Setting to needs review because the last test never ran.

#8

System Message - July 19, 2009 - 13:25
Status:needs review» needs work

The last submitted patch failed testing.

#9

JuliaKM - July 19, 2009 - 13:48
Status:needs work» needs review

Here's a re-rolled version of the same patch.

AttachmentSizeStatusTest resultOperations
sitebuildingrename_521474_1827022_v2.patch201.3 KBIdleFailed: Failed to apply patch.View details

#10

System Message - July 19, 2009 - 14:00
Status:needs review» needs work

The last submitted patch failed testing.

#11

JuliaKM - July 19, 2009 - 14:01

Figured out that my code was out of date. Here's another try. Sorry for the confusion.

AttachmentSizeStatusTest resultOperations
sitebuildingrename_521474_1827022_v3.patch201.55 KBIdleFailed: Invalid PHP syntax in modules/forum/forum.module.View details

#12

JuliaKM - July 19, 2009 - 14:02
Status:needs work» needs review

#13

System Message - July 19, 2009 - 14:20
Status:needs review» needs work

The last submitted patch failed testing.

#14

JuliaKM - July 19, 2009 - 19:21
Status:needs work» needs review

Here's a fourth try.

AttachmentSizeStatusTest resultOperations
sitebuildingrename_521474_1827022_v4.patch200.74 KBIdleFailed: Failed to run tests.View details

#15

System Message - July 19, 2009 - 19:30
Status:needs review» needs work

The last submitted patch failed testing.

#16

bangpound - July 19, 2009 - 20:21

I'm gonna have a looksie in a few hours.

#17

bangpound - July 20, 2009 - 04:25

JuliaKM:

I am unable to explain why this patch should work when the previous did not. The tests pass on my setup so far, I'm 20% through and I've surely hit some of the changes with 0 failures. The only difference is the 'diff' lines that occur for every file:

Yours:

diff -p -u -p -r1.72 INSTALL.txt

Mine:

diff -u -p -r1.72 INSTALL.txt

I'm not an expert on what each line in a diff patch mean, so I don't know if this difference of the extra '-p' is significant. I also don't know if you have any control over it. I am making patches with this command from the Drupal root:

cvs diff -up .

It's also possible that the test robot momentarily fell off the wagon!

Let's see what the test bot says about this one.

AttachmentSizeStatusTest resultOperations
sitebuildingrename-521474-17.patch200.57 KBIdleFailed: Failed to run tests.View details

#18

bangpound - July 20, 2009 - 04:27
Status:needs work» needs review

When in Paris, can someone take me to a tattoo parlor so I can have etched on my right hand a reminder to change the status to 'needs review' before I press 'save?'

#19

System Message - July 20, 2009 - 04:40
Status:needs review» needs work

The last submitted patch failed testing.

#20

bangpound - July 20, 2009 - 04:52

I am stumped! The patch applies cleanly. The tests succeed on my environment. The test bot blames us for it's failure to run tests. Has test bot gone on strike? Is this some kind of civil disobedience? WHAT ARE YOUR DEMANDS TEST BOT? We are prepared to meet them!

#21

bangpound - July 20, 2009 - 05:09
Status:needs work» needs review

Chx showed me how to run tests from the CLI. I can verify that this patch does not break the ability to run tests from the run tests script.

#22

System Message - July 20, 2009 - 05:25
Status:needs review» needs work

The last submitted patch failed testing.

#23

catch - July 20, 2009 - 10:13
Status:needs work» needs review

The test bot uses it's own simpletest script to actually install drupal and set things up before running tests - here's the patch to pifr which I think will stop tests breaking once this is in. Since it's never going to pass the test bot until it's actually in core, marking back to CNR.

#524954: Patch for admin/structure change

#24

Dries - July 20, 2009 - 17:02

Could someone run the tests on their local host and confirm that this patch works? Once approved, this should be ready to be committed.

#25

Dries - July 20, 2009 - 18:17

I'm running the tests locally (60% completed), and I pinged boombatower to be on stand-by to fix PIFR.

#26

JuliaKM - July 20, 2009 - 18:49

I am able to apply the bangpound's patch but get the following message during the process:
patching file modules/locale/locale.test
Hunk #1 succeeded at 1057 (offset -1 lines).
Hunk #2 succeeded at 1364 (offset -1 lines).

Does this still count as applying cleanly? Thanks bangpound for all of your help figuring out what was going on!

#27

Dries - July 20, 2009 - 19:01
Status:needs review» fixed

Committed to CVS HEAD and PIFR has been updated. Thanks!

#28

moshe weitzman - July 21, 2009 - 03:08

Noone even pretends to justify this change in this issue. Thats not right. At least link to the discussion if it happenned elsewhere. Without any link, this looks just like a fiat and we don't work like that. I don't think this change is reduces UX or increases it. It does break thousands of web links and book pages and screencasts.

#29

bangpound - July 21, 2009 - 05:08

FYI juliakm, the offset notices are the result of HEAD source changes that were committed after the patch was made. The diff patch was "aligned" with line X but the patch applied at line X-1 for two hunks. Success is success even if it's a bit out of step.

Sorry to stray from topic. We now return...

#30

catch - July 21, 2009 - 10:30

I agree with Moshe and take some responsibility for posting a crap issue summary.

Here's brief background (I'm assuming Moshe actually knows where the stuff is and just wants the review process to work normally, but for the sake of anyone else coming in).

Main summary of discussions from the d7ux sprint (which I wasn't at) - http://www.yoroy.com/2009/reorganize-drupal-admin-items-within-d7ux-fram... and http://www.d7ux.org/d7ux-information-architecture-a-detailed-view/

#520444: Use a custom menu for top level toolbar links includes adding an alias for admin -> admin/config, we need to discuss how to make the other paths/sections work both in the toolbar and if it's disabled, I have vague ideas but need to summarize.

A few participants in usability testing have complained about Site building and site configuration being indistinguishable titles (when you configure a module, you're building your site, you build your site by configuring content types, views panels etc. etc.), I couldn't find a d.o. issue for this but one not very good example is http://drupalusability.org/node/50

I/A for config and modules is being worked on at #510110: IA : Configuration & Module - this doesn't include the structure path at all, but it will in the sense we need to move things in/out of structure from config and modules.

#31

System Message - August 4, 2009 - 10:40
Status:fixed» closed

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

#32

Gábor Hojtsy - August 11, 2009 - 14:29
Issue tags:+IA

Adding tag.

 
 

Drupal is a registered trademark of Dries Buytaert.