| *** benj_88 is now known as benj_8 | 00:39 | |
| *** mikal3 is now known as mikal | 07:08 | |
| opendevreview | Michal Nasiadka proposed openstack/project-config master: kolla: Check for existing reno in check-sources https://review.opendev.org/c/openstack/project-config/+/1011228 | 08:16 |
|---|---|---|
| *** vhari_ is now known as vhari | 14:30 | |
| JayF | I accidentally deleted quite a few lines from https://etherpad.opendev.org/p/ironic-ptg-2027.1 about an hour-ish ago | 15:59 |
| JayF | is there any way to recover? | 15:59 |
| fungi | do you want to grab them from the timeslider and paste back into the live version, or roll the entire pad back to a specific revision? | 16:00 |
| JayF | if you can roll the pad back to where it was like, 2 hours ago, that would be ideal | 16:01 |
| JayF | I suspect that window being larger wouldn't cause harm either | 16:01 |
| JayF | I basically copy+pasted a chunk of text out; that chunk is now replaced by a single character which implies to me that I accidentally did it lol | 16:01 |
| JayF | I'm re-adding it from a local copy now, but colors are lost so that's not idea | 16:01 |
| JayF | *ideal\ | 16:01 |
| fungi | the api will allow me to rewind it to a specific revision number, it's not time-based | 16:02 |
| JayF | `git status that-etherpad`? lol | 16:03 |
| fungi | the slider should say what revision number you're looking at | 16:03 |
| JayF | or is a revision only created when you hit the star? | 16:03 |
| fungi | every edit is a revision | 16:03 |
| * JayF upgrading his etherpad-fu | 16:04 | |
| JayF | I'll get the number for you in a sec | 16:04 |
| fungi | so if you can identify the revision number just prior to the edit where you replaced the content, i can reset it to that state (effectively discarding all edits made after that one) | 16:04 |
| JayF | finding it now | 16:04 |
| JayF | fungi: 48090 | 16:05 |
| clarkb | as a protip if you catch it immediately often times a ^Z will undo and fix it | 16:06 |
| clarkb | but I'm not sure how long that is buffered | 16:06 |
| fungi | JayF: okay, just to confirm, 48090 is the state you want to restore to (not the revision where you did the accidental delete/overwrite)? | 16:07 |
| JayF | 48090 is good, 48091 is the one that shows it deleted | 16:07 |
| fungi | JayF: force refresh the pad in your browser and check whether it's properly rolled back to the state you wanted | 16:09 |
| JayF | lgtm | 16:10 |
| JayF | thanks | 16:10 |
| fungi | awesome, my pleasure. we don't do this often so i'm never 100% sure it still works | 16:10 |
| fungi | https://docs.opendev.org/opendev/system-config/latest/etherpad.html#restoring-a-pad is basically what i did, for the curious | 16:11 |
| fungi | https://lists.openstack.org/archives/list/openstack-discuss@lists.openstack.org/thread/26VXLUPHY2G6LEKNVOV2MHCTR35RPVCR/ Merging openstack-helm-images into openstack-helm | 19:56 |
| fungi | that's going to need some help from a gerrit admin if/when it goes forward, just calling it to everyone's attention (it's also spelled out pretty clearly in the proposal) | 19:56 |
| clarkb | while I'm not opposed I wonder if just starting with commit whatever today and that content with a pointer to the old retired repo would also work | 20:27 |
| clarkb | I guess then git log doesn't do what you want it to which is annoying | 20:27 |
| clarkb | thanks for the heads up | 20:29 |
Generated by irclog2html.py 4.1.0 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!