Google closing Yet Another Service - GoogleCode
-
that might've been just the launchpad UI
Yeah, Launchpad never really seemed as friendly to work with as even Bitbucket, much less Github.
Which is kinda funny, given that at one time I'd've said the reverse of the VCSes they each supported, at least for Subversion converts.
I never used Launchpad except for following updates on bzr-related projects, so I don't know what it was like to work with directly, but I remember finding information being confusing because there were too many places for it--a main page, possibly a link to a home page, possibly a wiki, an issues list, and a separate Q&A. I am a fan of their overview page design, though.
-
Don't go out of your way to hold the Shift key and you'll never have this problem.
alias rm to rm -i and you'll get asked before deleting files.
-
alias rm to rm -i and you'll get asked before deleting files.
IIRC, this is (was?) default on CentOS.
-
mount your partitions as read only and you'll also never have trouble with accidentally deleting files.
-
mount your partitions as read only and you'll also never have trouble with accidentally deleting files.
Yes, but that would be silly.
-
OK. Granted. Bit you have to admit it would be effective.
-
alias rm to rm -i and you'll get asked before deleting files.
I don't want to be asked before deleting files, I want to have the option of undoing the operation if I delete the wrong files.
-
Then don't delete files. Seriously. That's like saying "I want to un-print 500 pages if I realize the document is longer than I thought". You've already done the thing. Just move the files somewhere else if you're not sure if you want to delete them.
-
I don't want to be asked before deleting files, I want to have the option of undoing the operation if I delete the wrong files.
I agree with Blakey here.rm -i
is obnoxious as hell, in many cases completely unfeasible, and doesn't actually protect against mistakes because, I suspect, inmostmany cases you'll just make the same mistake when you sayy
.(Edited to soften it; I realized that it would, if you were always very careful which no one is, protect against one of the major causes of mistakenly-deleted files.)
Then don't delete files. ... Just move the files somewhere else if you're not sure if you want to delete them.
Except the thing is that there's no standard utility that actually gives you a trash-can-style feature with the convenience ofrm
. Making one that actually works as well as the trash can does isn't entirely trivial, and from some perspective is impossible because *nix wasn't designed with that use case in mind.(And to preempt comments, here are my desiderata for "works as well as the trash can." (1) Can delete multiple files with the same name without one clobbering another. (2) Can list files in the trash with their original names, and see the location they were deleted from. (3) Does not do cross-partition moves unless there is no alternative. (This the one that results in the "from some perspective is impossible" comment, because you need a standardized place for them to go.) Something like
function trash() { mv "$@" ~/.trash }
fails all three of these.)
-
~/foo$ sudo apt-get install trash-cli ~/foo$ touch butt ~/foo$ trash butt ~/foo$ touch butt ~/foo$ trash butt ~/foo$ trash-list 2015-03-17 22:14:33 /home/ben/foo/butt 2015-03-17 22:14:29 /home/ben/foo/butt
-
"Standard." In other words, I think it's ludicrously ridiculous that there isn't something that behaves that way available on most *nix installations. By contrast, trash-cli isn't installed by default on even the most popular and one of the most user-friendly distros.
-
There isn't one packaged with every server OS because Linux system administrators don't rely on being able to undo mistakes. For example, if you delete a line in a configuration file and you don't have a backup, you have to manually re-add it. It's not like you can "un-delete" the line containing the database password once you close your text editor.
-
There isn't one packaged with every server OS because Linux system administrators don't rely on being able to undo mistakes.
They don't have to rely on it, but it sure would be nice to have it anyway, eh?
-
There isn't one packaged with every server OS because Linux system administrators don't rely on being able to undo mistakes.
1) They still use editors that support undo
2) Many admins will keep config files in version control
3) I'd argue that's not a good state
-
I think we should just give up on patching the existing stuff and create a new filesystem that would handle it natively.
I propose calling it
gitfs
-
Flamebait File System
ffs, my ffs has no undo function
-
I think we should just give up on patching the existing stuff and create a new filesystem that would handle it natively.
I propose calling it
gitfs
And does this newfangled filesystem let you lock files?
-
And does this newfangled filesystem let you lock files?
No, you should clone, then fork, then submit a PR for every file change. This is the basics, people!
-
No, you should clone, then fork, then submit a PR for every file change. This is the basics people!
This is going to cause me to lose work!
-
This is going to cause me to lose work!
The official
vi
plugin that will make it harder to do anything, including losing work, is in the works.
-
It's not like you can "un-delete" the line containing the database password once you close your text editor.
I can. My text editor has persistent undo.
-
XP-Dev also supports SVN, though free accounts are kinda limited.
-
-
:q!
-
-
You need to type: "Yes, do as I say!"
Hardly in the spirit of
vi
, that.EDIT: was supposed to be a direct reply to your prior post, but I got that
missing {{link}} value
business again, because Peniswhores.
-
It's a reference that has extremely low chances of getting noticed (let's just say that if you ever saw it, you probably didn't want to type that anyway).
was supposed to be a direct reply to your prior post
Got the quote notification anyway.
missing {{link}} value
businessBecause when your templating engine can't find a value it should just spit that shit out at the user. Because that's useful.
-
I figured it was some kind of Zelda reference?
-
I figured it was some kind of Zelda reference?
I'd explain stuff here. But you're just spamming stupid jokes, aren't you?
-
You can explain stuff while I spam stupid jokes, why not? That'll work!
-
I'm pretty sure that means more work for me. Pass.
-
That's no fun. So this horse walks into a bar...
-
... and tries to order a drink but
missing {{bartender}} value
?