Make WordPress Core

Opened 11 years ago

Closed 10 years ago

#16896 closed defect (bug) (fixed)

What about / Whom to ask for build-scripts and -binaries used to build WordPress?

Reported by: hakre Owned by: nacin
Milestone: WordPress.org Priority: normal
Severity: normal Version: 3.0
Component: General Keywords:
Focuses: Cc:


The WordPress software packages to download form the website contain mostly source-code.

After #16517 a website called "Source Code" has been added to wordpress.org listing various sources that are not shipping with the packages offered for download.

The WordPress software package contains development and production versions of JavaScript files as well, for example admin-bar.js (production) and admin-bar.dev.js (development; source).

For files like those - be it both inside the package or inside the package and on the website - additional scripts and binaries are used to create the production version that ships with the software package out of the source code.

User who want to build WordPress from sources need additional information and tools to do so.

Where can information about the build-scripts and where can the used tools be obtained from?

Change History (8)

#1 follow-up: @westi
11 years ago

  • Milestone Awaiting Review deleted
  • Resolution set to worksforme
  • Status changed from new to closed

JavaScript and CSS are compressed by committers using the YUI Compressor


#2 in reply to: ↑ 1 @hakre
11 years ago

  • Resolution worksforme deleted
  • Status changed from closed to reopened

Replying to westi:

JavaScript and CSS are compressed by committers using the YUI Compressor


Thanks for providing some information, but I have some questions left open:

  1. Where is that information available in the software package?
  2. Was that for all packages versions? If not, for which versions?
  3. Is the YUI Compressor used for all files that have a non-source version in the package(s)? What about SWF files? If not, for which files is YUI Compressor and which other tools are used for the other files especially those outlined on the Source Code page on wordpress.org?
  4. Is it possible to put complete information about how to build from sources on the worpdress.org homepage?
  5. Which parameters are used when the committer uses the YUI Compressor?

Please don't close this ticket that fast. Imagine that there are users out there that are currently unable to obtain that information.

For example I was unable to locate any of such information from the "Source Code" page which looks like a fitting location to me.

Last edited 11 years ago by hakre (previous) (diff)

#3 @ocean90
11 years ago

  • Milestone set to Awaiting Review

#4 @edwardw
10 years ago

java -jar yuicompressor-2.4.6.jar -o <something>.css <something>.dev.css

seems to be the command to minimize CSS/JS - perhaps this could be added to some page on WordPress.org?

#5 @SergeyBiryukov
10 years ago

  • Milestone changed from Awaiting Review to WordPress.org

#6 @scribu
10 years ago

Related: #19065

#7 @nacin
10 years ago

  • Owner set to nacin
  • Status changed from reopened to reviewing

I will add a note to the /download/source/ page that the committers use YUI for compression.

It is only used for our authored core files. We do not minimize external libraries. We only include the official upstream compressed file, if it exists. (Prototype was never compressed in core as there was not an official compressed version.)

One caveat is we do add noConflict() directly to the jQuery file, but ideally that will change soon.

#8 @nacin
10 years ago

  • Resolution set to fixed
  • Status changed from reviewing to closed
Note: See TracTickets for help on using tickets.