Unify all core package names to "Core"

Xano - October 9, 2008 - 11:20
Project:Drupal
Version:7.x-dev
Component:base system
Category:task
Priority:normal
Assigned:Xano
Status:closed
Description

Since required Core modules aren't shown anymore displaying "Core - optional" is too much and it might be confusing (because where are the required modules then?). The attached patch changes the package from all optional Core modules from "Core - optional" to "Core". The required modules' package stays the same.

AttachmentSizeStatusTest resultOperations
core_package_00.patch15.35 KBIgnoredNoneNone

#1

earnie - October 9, 2008 - 14:13

Maybe it should be package = Drupal instead? Or even package = Drupal core?

#2

Xano - October 9, 2008 - 14:34

+1 for package = Drupal core.

By the way, should core be capitalised or not?

#3

earnie - October 9, 2008 - 18:49

Based on other text, no.

#4

Xano - October 10, 2008 - 12:39

This patch changes "Core - optional" to "Drupal core" and additionally "Core - required" to "Drupal core (required)". I think using brackets is better for readability than a dash.

AttachmentSizeStatusTest resultOperations
core_package_01.patch21.33 KBIgnoredNoneNone

#5

earnie - October 10, 2008 - 13:14
Status:needs review» needs work

Looks nice but your system.module change is inserted in this patch file.

#6

Xano - October 10, 2008 - 13:31

Aaargh, I did a CVS update before creating the patch? :S

AttachmentSizeStatusTest resultOperations
core_package_02.patch18.54 KBIgnoredNoneNone

#7

earnie - October 10, 2008 - 14:39
Status:needs work» reviewed & tested by the community

Text change for package variable in info file is good.

#8

catch - October 10, 2008 - 15:48

I was going to rtbc this but earnie beat me to it.

#9

Dave Reid - October 10, 2008 - 15:55

This patch needed to change the string to hide the required group in admin/build/modules. Added the change to system.admin.inc from #6.

AttachmentSizeStatusTest resultOperations
core_package_03.patch19.09 KBIgnoredNoneNone

#10

earnie - October 10, 2008 - 16:23

Dave's addition is good. This is still RTBC.

#11

Xano - October 10, 2008 - 17:27

+1 for Dave's addition.

That package check could be done far better by using drupal_required_modules(), but that's something for another issue.

#12

Dave Reid - October 10, 2008 - 18:26

#13

Xano - October 10, 2008 - 18:59
Status:reviewed & tested by the community» needs review

We're going to fix the problem Dave mentioned in #9 in #319699: Simplify required module hiding in admin/build/modules.

The attached patch puts all core modules in the same, human readable package.

AttachmentSizeStatusTest resultOperations
core_package_04.patch18.49 KBIgnoredNoneNone

#14

Dave Reid - October 10, 2008 - 19:10

Works and put all core modules into the same fieldset. Revised patch fixes the system module tests (fieldset used to enable/disable modules) and passes 100%!

AttachmentSizeStatusTest resultOperations
core_package_05.patch20.66 KBIgnoredNoneNone

#15

Dave Reid - October 10, 2008 - 19:54
Status:needs review» reviewed & tested by the community

Patch in #14 applies cleanly, passes all tests, and is RTBC.

#16

Xano - October 10, 2008 - 22:12
Title:Change package name: "Core - optional" -> "Core"» Change package name: "Core - optional" -> "Drupal core"

#17

webchick - October 11, 2008 - 00:12
Status:reviewed & tested by the community» needs work

Shoot. Sorry guys, but we can't use "Drupal core" because of branded distros. http://drupal.org/node/81740#comment-443099 from the original package patch.

I agree that "Core - optional" is exceptionally silly now that Core required aren't shown. "Core" is fine, though. So could we get one that does "Core" and "Core (required)" ?

#18

Dave Reid - October 11, 2008 - 01:27
Title:Change package name: "Core - optional" -> "Drupal core"» Unify all core package names to "Core"
Status:needs work» needs review

Revised patch that changes all core modules package info to "Core." There is no longer a "Core - required" because of the new required module implementation in #319699: Simplify required module hiding in admin/build/modules.

AttachmentSizeStatusTest resultOperations
core_package_6.patch20.43 KBIgnoredNoneNone

#19

webchick - October 11, 2008 - 01:40
Status:needs review» needs work

system.test's hunk needs work.

#20

Dave Reid - October 11, 2008 - 01:52
Status:needs work» needs review

Ah crap. Knew I shouldn't have done a grep for '= Drupal core'! System module test passes and confirmed the admin/build/modules screen appears as desired.

AttachmentSizeStatusTest resultOperations
core_package_7.patch20.41 KBIgnoredNoneNone

#21

webchick - October 11, 2008 - 02:33
Status:needs review» fixed

Committed! :) Yay!

Now to look at that other eeeenteresting patch...

#22

Dave Reid - October 11, 2008 - 02:36

Yay!

#23

Xano - October 11, 2008 - 05:40

we can't use "Drupal core" because of branded distros

.

I thought forks etc. weren't supported? On top of that: it is the actual Drupal Core those packages belong to.

#24

Dave Reid - October 11, 2008 - 06:34

I think webchick means branded Drupals such as Acquia Drupal, not forks.

#25

webchick - October 11, 2008 - 07:05

Yeah. There are many ways to create a white-label distribution of Drupal that don't constitute "forking." For example, a university creating a distro of Drupal for all departments to create their own branded sub-sites. They would call the distro "Acme University Website Builder" not "Drupal." It's one of the reasons site_name is in a variable_get. We shouldn't hard-code the word "Drupal" in the interface.

#26

Xano - October 11, 2008 - 16:34

Isn't the name 'Drupal' used in a lot of strings too?

#27

webchick - October 11, 2008 - 17:09

Shouldn't be. If they are, they should be replaced with variable_get('site_name'). Separate issue, of course.

Can we let this one die now, so it quits bumping up in my "My issues" queue all the time? :)

#28

lilou - October 11, 2008 - 18:11

#29

Anonymous (not verified) - October 25, 2008 - 18:12
Status:fixed» closed

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

 
 

Drupal is a registered trademark of Dries Buytaert.