No, we should not version .w2p files, it is not needed, and a waist of overhead.
Perhaps admin should be altered to just "copy" an existing app, or download a welcome.w2p from web2py.com. -Thadeus On Mon, Dec 7, 2009 at 9:18 PM, Yarko Tymciurak <resultsinsoftw...@gmail.com> wrote: > On Dec 7, 9:03 pm, Thadeus Burgess <thade...@thadeusb.com> wrote: >> yes, I was actually under the impression that is what admin did. >> >> -Thadeus >> >> >> >> On Mon, Dec 7, 2009 at 8:28 PM, mr.freeze <nat...@freezable.com> wrote: >> > Why not just pull the files directly from the version controlled >> > welcome app files? Isn't admin trying to unpack and get those files >> > anyway? > > This is a bit counter to how you want to store in a version control > system: "derived" files should be made, not stored. > > One of the reasons that cloning the revision was so long was that > these huge, binary files were versioned. > This is one of the reasons that a distribution had a compressed tar > file (not called *.w2p files) - so that they would be smaller. > The only problem, for checkout, e.g. "clone", "pull", "update", > "merge" operations this results in an unusually long activity > (especially for clone, where the changesets - which in the case of > binary files will just be the entire, long list of *.w2p versions). > > For web2py to behave by trying to find *w2p file reflects the concept > that "smaller" distribution files are what is distributed. > > Recent discussions that people might modify their welcome apps is > reason to consider if the change in web2py should be to 'make', or > build a distribution-like installation (that is, if there is no *.w2p > file, then make them). This makes senes for welcome app, perhaps lest > for admin, and is really most questionably as to utility for examples. > > One thing that is clear: it is not desirable (for several reasons, in > general) to version derived files. > > This discussion should probably center on: is it worthwhile to > distribute / build *.w2p files in any of these cases anymore. > > Your thoughts? > > - Yarko >> >> > On Dec 7, 8:23 pm, Thadeus Burgess <thade...@thadeusb.com> wrote: >> >> Probably should, I say a central copy of welcome.w2p should be placed >> >> on web2py.com and urllib to download it if it doesn't exist, this way >> >> it still does not need to be distributed with the SCM. >> >> >> -Thadeus >> >> >> On Mon, Dec 7, 2009 at 8:17 PM, mr.freeze <nat...@freezable.com> wrote: >> >> > Should the admin app be modified then? It still looks for welcome.w2p >> >> > then fails when creating a new app. >> >> >> > On Dec 7, 8:11 pm, Thadeus Burgess <thade...@thadeusb.com> wrote: >> >> >> the .w2p files are no longer included, but version-ed directories of >> >> >> the examples and welcome apps are. >> >> >> >> The consensus was that you would create a new app instead of using the >> >> >> welcome app to make modifications. >> >> >> >> -Thadeus >> >> >> >> On Mon, Dec 7, 2009 at 7:55 PM, mr.freeze <nat...@freezable.com> wrote: >> >> >> > I've switched from svn to mercurial (SubClipse to MercurialEclipse) >> >> >> > and most everything seems to be working. One question though: Where >> >> >> > is welcome.w2p now? Creating a new app fails because it is missing. >> >> >> > I >> >> >> > don't see an hgignore file anywhere so I don't think it is getting >> >> >> > excluded. Has it been removed from source control? >> >> >> >> > Thanks for any help and sorry if this was already discussed, google >> >> >> > groups search is abysmal. >> >> >> >> > -- >> >> >> >> > You received this message because you are subscribed to the Google >> >> >> > Groups "web2py-users" group. >> >> >> > To post to this group, send email to web...@googlegroups.com. >> >> >> > To unsubscribe from this group, send email to >> >> >> > web2py+unsubscr...@googlegroups.com. >> >> >> > For more options, visit this group >> >> >> > athttp://groups.google.com/group/web2py?hl=en. >> >> >> > -- >> >> >> > You received this message because you are subscribed to the Google >> >> > Groups "web2py-users" group. >> >> > To post to this group, send email to web...@googlegroups.com. >> >> > To unsubscribe from this group, send email to >> >> > web2py+unsubscr...@googlegroups.com. >> >> > For more options, visit this group >> >> > athttp://groups.google.com/group/web2py?hl=en. >> >> > -- >> >> > You received this message because you are subscribed to the Google Groups >> > "web2py-users" group. >> > To post to this group, send email to web...@googlegroups.com. >> > To unsubscribe from this group, send email to >> > web2py+unsubscr...@googlegroups.com. >> > For more options, visit this group >> > athttp://groups.google.com/group/web2py?hl=en. > > -- > > You received this message because you are subscribed to the Google Groups > "web2py-users" group. > To post to this group, send email to web...@googlegroups.com. > To unsubscribe from this group, send email to > web2py+unsubscr...@googlegroups.com. > For more options, visit this group at > http://groups.google.com/group/web2py?hl=en. > > > -- You received this message because you are subscribed to the Google Groups "web2py-users" group. To post to this group, send email to web...@googlegroups.com. To unsubscribe from this group, send email to web2py+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/web2py?hl=en.