Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

--hotedit install files. #208

Closed
trusktr opened this issue Mar 14, 2014 · 8 comments · Fixed by #597
Closed

--hotedit install files. #208

trusktr opened this issue Mar 14, 2014 · 8 comments · Fixed by #597

Comments

@trusktr
Copy link

trusktr commented Mar 14, 2014

It'd be nice if --hotedit allowed us to edit install files too, not just PKGBUILD files.

@mrak
Copy link

mrak commented Mar 14, 2014

Interesting. This would be convenient. Make it use eval $EDITOR PKGBUILD *.install (or whichever way aura does it) or similar?

@fosskers
Copy link
Owner

You're right @trusktr and I've been meaning to add this functionality in for a while. It would consist of checking for a .install as not all packages have them, then prompting the user and then performing a shell call similar to what @mrak suggested.

@dhouck
Copy link
Contributor

dhouck commented Mar 15, 2014

Would it be reasonable to include the other files in the AUR or ABS tree? This would be useful, for example, to install the community/9base package to a non-default location. This package has three files in the ABS tree (the PKGBUILD and two small shell scripts), all of which would need to be edited and none of which are .install files.

@fosskers fosskers mentioned this issue Apr 28, 2014
@fosskers
Copy link
Owner

@dhouck Interesting, I didn't know such a thing happened. See #217

@trusktr
Copy link
Author

trusktr commented Apr 28, 2014

Perhaps three prompts, for example:

Edit PGKBUILD? [Y/N]
Edit .install? [Y/N]
Edit other files? [Y/N]

The second prompt only appears when the .install file is present, and the third only when other files are present and they are text files.

Or perhaps it can prompt for each file?

Edit PGKBUILD? [Y/N]
Edit .install? [Y/N]
Edit lorem.sh? [Y/N]
Edit ipsum.sh? [Y/N]

@fosskers
Copy link
Owner

I like the idea of prompting for all files that are present.

@fosskers
Copy link
Owner

After 6 years, the time has come.

@fosskers
Copy link
Owner

Thanks for your patience. The change will be included in Aura's upcoming release.

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

Successfully merging a pull request may close this issue.

4 participants