-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Andy,
Dojo provides a way to "compile" the code to make load times faster. "Compiling" takes a list of source files, sticks them all together into a single file, removes unnecessary whitespace, and minimizes the length of variable names. All of this is done so that page loads are faster. Without compiling it, each file is loaded individually. VCL works fine without having the compiled versions. We didn't start "compiling" Dojo stuff until the 2.3 release. There are two modules we've created that extend Dojo functionality. They are in the web/js/vcldojo directory and have the necessary AFS header in them. I didn't think we needed the ASF header in the vcl*.js files since we're not modifying the code. However, I didn't think about the two modules we've created being compiled in. They are only in four of the vcl*.js files (2 compressed, 2 uncompressed - vclViewRequests.js and vclEditBlockAllocation.js + uncompressed versions). So, those would need the ASF header in them. I'm not sure if the other files should have it or not. I never commited the vcl*.js files to the repository since they are generated files. Josh On Monday, September 22, 2014 2:42:25 PM Andy Kurth wrote: > Thank you for this information. I knew we were shipping dojo with the > release but was unaware the dojo directory had custom source code under it. > > What is different between stock dojo and dojo-1.6.2vcl? > > I see several files in dojo-1.6.2vcl such as the vcl*.js files. Is this > code in the repository somewhere? > > I looked back at the 2.3.2 packaged release and the see VCL-specific files > under the dojo directory were included. These do not include an ASF > header. Please address this for future releases. > > Thanks, > Andy > > > > > > > > On Mon, Sep 15, 2014 at 10:50 AM, Josh Thompson <[email protected]> > > wrote: > > -----BEGIN PGP SIGNED MESSAGE----- > > Hash: SHA1 > > > > As you may have seen, I did a rather large check in of the web code to > > trunk. > > Sorry for checking in so much at one time. I prefer not to check in that > > much > > together, but it included a rewrite of both the reservations pages and how > > all > > of the resources are handled. > > > > A few notable changes are that the New Reservation, Current Reservations, > > and > > the reserving part of Server Profiles pages have been combined into one > > page > > named Reservations. Also, all of the pages for managing resources have > > been > > rewritten to be more dynamic. The Computer Utilities page has been > > incorporated into the Edit Computer Profiles page. > > > > If anyone wants to try out trunk, after getting the code, you'll need to > > either use a stock distribution of Dojo Toolkit 1.6.2 (i.e. not one from a > > previous release) or download a custom compiled version from > > > > http://people.apache.org/~jfthomps/updates/dojo-1.6.2vcl.tar.gz > > > > Then, you'll need to go to the root directory of your web code and rename > > the > > existing dojo directory. Finally, untar the archive from above which will > > create a new dojo directory. > > > > You'll also need a copy of Spyc 0.5.1 from: > > > > https://github.com/mustangostang/spyc/releases > > > > Extract the archive under your .ht-inc directory. Spyc handles YAML data > > which may be stored in the variable table. > > > > Josh > > - -- > > - ------------------------------- > > Josh Thompson > > VCL Developer > > North Carolina State University > > > > my GPG/PGP key can be found at pgp.mit.edu > > > > All electronic mail messages in connection with State business which > > are sent to or received by this account are subject to the NC Public > > Records Law and may be disclosed to third parties. > > -----BEGIN PGP SIGNATURE----- > > Version: GnuPG v2.0.22 (GNU/Linux) > > > > iEYEARECAAYFAlQW/LIACgkQV/LQcNdtPQPWngCfYHLUNRukjX0ObwTQ1EUm6Ta3 > > BaQAmwZh2MVrv42ZtFoILeasxmqfOGsl > > =BQ2N > > -----END PGP SIGNATURE----- - -- - ------------------------------- Josh Thompson VCL Developer North Carolina State University my GPG/PGP key can be found at pgp.mit.edu All electronic mail messages in connection with State business which are sent to or received by this account are subject to the NC Public Records Law and may be disclosed to third parties. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.22 (GNU/Linux) iEYEARECAAYFAlQhyLIACgkQV/LQcNdtPQPQOgCeJgMZNWlgD1Tu3YwOqqgyTZpL av0An1ADq+GWYCjDFQJKL8MPSiHIPqBy =gI73 -----END PGP SIGNATURE-----
