AnarchyLinux / installer

Anarchy Linux - A simple and intuitive Arch Linux installer. https://anarchyinstaller.org/
GNU General Public License v2.0
1.22k stars 157 forks source link

Don't touch the system until all the options are selected (step backwards) #765

Open noraj opened 5 years ago

noraj commented 5 years ago

Anarchy is not supporting step backwards because all steps are executed when going to the next step instead of the whole install being done in one block at the end.

So each error force you to start a new install from the beginning.

FredBezies commented 5 years ago

This project seems to be dead or at least dormant.

Too bad. By the way, what about showing some code instead of reporting bugs which will not be fixed because of the state of this project?

noraj commented 5 years ago

If it was ruby yeah, but this project is in bash.

pnedkov commented 5 years ago

This project seems to be dead or at least dormant.

Too bad.

@FredBezies, too bad indeed. Going from pure Arch installer to distribution was a huge mistake IMO. Sadly, this is what steered me away from the project.

noraj commented 5 years ago

@pnedkov I agree with you.

erazemk commented 5 years ago

@noraj @pnedkov The Anarchy-specific repo was removed and I'm planning some changes to the project so it is returninng to its original form and your help in implementing the feature would be greatly appreciated. I'll try and work on it soon, but I'd need some help planning it out.

noraj commented 5 years ago

I personally went into a pure Arch install (https://rawsec.ml/en/unusual-archlinux-installation/) I have no more interest into this project.

erazemk commented 5 years ago

Basic implementation idea:

herobrauni commented 5 years ago

Basic implementation idea:

  • instead of immediately executing commands, save them as a variable to a file (where all the command will be read from)
  • add a "back" menu option and rewrite the variable if needed (find and change the line with sed and regex)
  • Ask the user before starting to execute commands
  • execute all the commands in proper order without user input
  • show last menu (reboot, power off, ...)

Ill try to hack something together over the weekend that just copies all variables set while installing to a new file and go from there. So basically start with export and add import later.

Edit: I haven't forgotten, just takes more time than I thought.