This repository is private.
All pages are served over SSL and all pushing and pulling is done over SSH.
No one may fork, clone, or view it unless they are added as a member.
Every repository with this icon (
) is private.
Every repository with this icon (
This repository is public.
Anyone may fork, clone, or view it.
Every repository with this icon (
) is public.
Every repository with this icon (
commit 4b17082107aced980fc4b511028ee763247bc5ab
tree 39b070c260bef4e88b0bd42e1c2710ff40fa4ed9
parent ed99dda174da439a0947cdabea3babf027c672ac
tree 39b070c260bef4e88b0bd42e1c2710ff40fa4ed9
parent ed99dda174da439a0947cdabea3babf027c672ac
... |
... |
|












Does “unzip” exist on Windows?
Nope, not on Windows XP Professional SP2 at least.
Suggestions: Perhaps zip/zipfilesystem and fallback to the `unzip` command if it’s not available (with a helpful message asking you to install rubyzip if unzip is unavailable).
that’s still yet another dependency. on OS X, you could just call open on it too.
Er why not use tar’s and vendor minitar?
There’s also the option of using Github’s tarball export:
http://github.com/tarballs/rails-rails-master.tar.gz
will this changeset still be pushed into svn? Then we could just do rake rails:freeze:edge twice and be on the latest revision.
The zip doesnt seem to be working, yet. It’s got 0k here.
It can dl a file and unpack on POSIX systems and just dl and puts a warning like “unzip it into …” on Windows.
Most users has winrar installed, which afaik has some command line interface. A bit weird to rely on winrar, though.
I don’t have windows atm, but if you install the gui version of winrar I’m almost sure you don’t get the cli version. And in any case you’d require that *nix users have the `unrar` command operating on their command line.
I’d say it’s preferable to add another dependency but ensure cross-compatibility if it “just works” for everybody.
Windows XP has unzip functionality, but apparently it’s impossible to call it from the command line. There is the “compact” command, but that only works on .cab archives. “rundll32 zipfldr.dll,RouteTheCall rails_edge.zip” will only open the zip in explorer. Oh the beauty of Windows’ API.
I’m down for using another dependency in the vendor folder, and making it work for everybody.
Then again, it was required to have subversion before. So, asking people to install some freeware command line unzipper doesn’t seem too much to ask. After all, you can achieve the same thing by simply downloading the zip and unpacking it to vendor/rails manually, this is just a shortcut.
Why not just require rubyzip to be installed? Seems like then you can just make the call to it and not worry about which os it is. You could even provide fall thru support for OS’es that do support zip from the command line. leethal is right, svn was a dependency before, why not make rubyzip a dependency now?
heck rake’s a dependency, so I don’t really see anything wrong with making rubyzip or some other unarchiver another dependency
Yeah, I think the fact that this being a shortcut for downloading it manually means that one can live with some dependencies.
Oh hai, core team, any say on this?
We are looking at using ruby’s build in zlib to extract the files.
However, we are all on unix systems so there is not that big of an itch. Any windows users want to raise up to the task?
leethal: see comment # 3
totally agree with technoweenie
http://rails.lighthouseapp.com/projects/8994-ruby-on-rails/tickets/2-rake-rails-freeze-edge-on-windows
Awful code, apply sexyness please.
ping