Author Topic: Reverting E17 to any previous revision, a brief tutorial  (Read 558 times)

smartboyathome

  • Lead Wolf
  • Architect
  • *
  • Posts: 156
  • I am there, I am watching.
    • View Profile
    • WWW
    • Email
Reverting E17 to any previous revision, a brief tutorial
« on: November 30, 2009, 06:02:01 PM »
ok, so you want to revert E17 to a previous revision, but you didn't do a backup of that revision? Not a problem anymore with this handy little script I made, which could possibly be included in easy_e17.sh soon enough! Anyway, here is the script which I made:
Code: [Select]
#!/bin/sh

for filename in /var/cache/e17_src/*
do
  if [ -d $filename ]
  then
    cd $filename
    svn merge -rHEAD:${1} .
    cd ..
  fi
done

Now, finallyjust run the script posted above as so:
Code: [Select]
sudo /path-to-script.sh ${cd /var/cache/e17_src/e && svn info --revision {YYYY-MM-DD} | grep Revision | cut -d ' ' -f 2}
Replacing YYYY with the year as 4 digits, MM with the month as two digits, and DD as the day with two digits. Now, finally, just add this to the end of your /etc/easy_e17.conf:
Code: [Select]
-s
That's it, now you're running on a custom E17 revision which won't be updated when you install new stuff with easy_e17.sh! To install this revision, just run:
Code: [Select]
sudo easy_e17.sh -iAnd then restart E17. Presto, you're running on an older version of E17!
« Last Edit: November 30, 2009, 06:04:10 PM by smartboyathome »
Logged

Other sites I am a part of (not affiliated with cafelinux.org):
My Site | OSTalk.org: Where every OS is welcome! | Maryan Linux

job

  • Member Level 1
  • *
  • Posts: 11
    • View Profile
Re: Reverting E17 to any previous revision, a brief tutorial
« Reply #1 on: March 15, 2010, 10:00:43 PM »
How do one backs up an installation?  I read that you will get e17 back up in your gnome menu but it isn't there.  Once long ago I had it there but this install did not give me one.  Is there another way?
Merci. 
Logged

jalu

  • Member Level 4
  • *
  • Posts: 214
    • View Profile
    • Email
Re: Reverting E17 to any previous revision, a brief tutorial
« Reply #2 on: March 16, 2010, 05:06:44 AM »
How do one backs up an installation?  I read that you will get e17 back up in your gnome menu but it isn't there.  Once long ago I had it there but this install did not give me one.  Is there another way?
Merci.
i think you need the oz-e17-tools, if you got them run "update_e17.sh --help" to see the options and "update_e17.sh -B " to make a backup. its stored under /opt or /opt/e17 (i think under /opt).
i hope thats right.
Logged

job

  • Member Level 1
  • *
  • Posts: 11
    • View Profile
Re: Reverting E17 to any previous revision, a brief tutorial
« Reply #3 on: March 16, 2010, 01:45:30 PM »
How do one backs up an installation?  I read that you will get e17 back up in your gnome menu but it isn't there.  Once long ago I had it there but this install did not give me one.  Is there another way?
Merci.
i think you need the oz-e17-tools, if you got them run "update_e17.sh --help" to see the options and "update_e17.sh -B " to make a backup. its stored under /opt or /opt/e17 (i think under /opt).
i hope thats right.
I guess oz-e17-tools come with e17 or do I have to go find them and compile.

Installed tools and all is swell  ;D
« Last Edit: March 16, 2010, 11:05:49 PM by job »
Logged

jalu

  • Member Level 4
  • *
  • Posts: 214
    • View Profile
    • Email
Re: Reverting E17 to any previous revision, a brief tutorial
« Reply #4 on: March 16, 2010, 11:19:36 PM »
good that it did solve it.

btw: i usually use this as a guideline
http://cafelinux.org/OzOs/content/optimum-ozos-experience-debian-gnulinux
but choose to install what i want (either all what is mentioned or just a part or just e17-svn). atm i got problems with e_dbus.
Logged