WordPress.org

Make WordPress Core

Opened 3 years ago

Closed 22 months 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:

Description

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)

comment:1 follow-up: westi3 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

http://developer.yahoo.com/yui/compressor/

comment:2 in reply to: ↑ 1 hakre3 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

http://developer.yahoo.com/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?

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.

Version 2, edited 3 years ago by hakre (previous) (next) (diff)

comment:3 ocean903 years ago

  • Milestone set to Awaiting Review

comment:4 edwardw3 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?

comment:5 SergeyBiryukov3 years ago

  • Milestone changed from Awaiting Review to WordPress.org

comment:6 scribu2 years ago

Related: #19065

comment:7 nacin2 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.

comment:8 nacin22 months ago

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