Skip to content
This repository has been archived by the owner on Apr 9, 2022. It is now read-only.

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

Open
noraj opened this issue Dec 31, 2018 · 8 comments
Open

Comments

@noraj
Copy link

noraj commented Dec 31, 2018

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
Copy link
Contributor

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
Copy link
Author

noraj commented Jan 1, 2019

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

@pnedkov
Copy link
Collaborator

pnedkov commented Jan 11, 2019

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.

@pnedkov pnedkov closed this as completed Jan 11, 2019
@pnedkov pnedkov reopened this Jan 11, 2019
@noraj
Copy link
Author

noraj commented Jan 12, 2019

@pnedkov I agree with you.

@erazemk
Copy link
Member

erazemk commented Aug 22, 2019

@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
Copy link
Author

noraj commented Aug 22, 2019

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

@erazemk erazemk changed the title step backwards Don't touch the system until all the options are selected (step backwrads) Aug 22, 2019
@erazemk erazemk changed the title Don't touch the system until all the options are selected (step backwrads) Don't touch the system until all the options are selected (step backwards) Aug 22, 2019
@erazemk erazemk mentioned this issue Oct 16, 2019
3 tasks
@erazemk
Copy link
Member

erazemk commented Oct 18, 2019

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, ...)

@herobrauni
Copy link
Contributor

herobrauni commented Oct 18, 2019

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.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

5 participants