Opened 14 years ago
Closed 13 years ago
#16896 closed defect (bug) (fixed)
What about / Whom to ask for build-scripts and -binaries used to build WordPress?
Reported by: |
|
Owned by: |
|
---|---|---|---|
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)
#1
follow-up:
↓ 2
@
14 years ago
- Milestone Awaiting Review deleted
- Resolution set to worksforme
- Status changed from new to closed
#2
in reply to:
↑ 1
@
14 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:
- Where is that information available in the software package?
- Was that for all packages versions? If not, for which versions?
- 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?
- Is it possible to put complete information about how to build from sources on the worpdress.org homepage?
- 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.
#4
@
14 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?
#7
@
14 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.
JavaScript and CSS are compressed by committers using the YUI Compressor
http://developer.yahoo.com/yui/compressor/