aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Stop using absolute symlinksHEADeselect-rust-20210703masterDavid Michael2021-07-032-8/+4
| | | | | | | | | | Prefixing everything with ${EROOT} produces invalid paths on the target system. All of the symlinks point to files in the same directory, so there is no reason to specify directories at all. Bug: https://bugs.gentoo.org/790305 Signed-off-by: David Michael <fedora.dm0@gmail.com> Signed-off-by: Georgy Yakovlev <gyakovlev@gentoo.org>
* rust.eselect.in: make shellcheck happyeselect-rust-20200419Thomas Deutschmann2020-04-191-3/+3
| | | | Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>
* bump version to 20200419Thomas Deutschmann2020-04-191-1/+1
| | | | Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>
* find_missing_broken_symlinks(): add symlinks for new targetsThomas Deutschmann2020-04-191-0/+10
| | | | | | | | | This commit will ensure that we will create a new symlink which didn't exist before for a new target, i.e. after re-installing a rust provider with changed USE flags. Bug: https://bugs.gentoo.org/688864 Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>
* bump version to 20200101eselect-rust-20200101Thomas Deutschmann2020-01-011-1/+1
| | | | Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>
* Fix code styleThomas Deutschmann2020-01-011-11/+13
| | | | Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>
* Add show actionRobin H. Johnson2020-01-011-0/+20
| | | | | | | Closes: https://bugs.gentoo.org/704502 Signed-off-by: Robin H. Johnson <robbat2@gentoo.org> Closes: https://github.com/jauhien/eselect-rust/pull/5 Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>
* bump version to 20190311eselect-rust-20190311Thomas Deutschmann2019-03-111-1/+1
| | | | Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>
* find_targets(): sort by versionThomas Deutschmann2019-03-111-2/+22
| | | | Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>
* Mark "unset" action as deprecatedThomas Deutschmann2019-03-111-28/+2
| | | | | | | | | | | As long as one Rust implementation is installed, there should be always a Rust implementation marked as default. However, we need to keep this function until all ebuilds which are calling "eselect rust unset" are gone. So make this action an alias of new cleanup action. Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>
* Add cleanup actionThomas Deutschmann2019-03-111-0/+27
| | | | | | | | | | | | Cleanup action will make use of new find_missing_broken_symlinks() function and should be called by ebuild during package removal. If we detect a missing or broken symlink, we will automatically mark latest available version as default (which will basically fix missing or broken symlinks). Bug: https://bugs.gentoo.org/671182 Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>
* Add and make use of find_missing_broken_symlinks()Thomas Deutschmann2019-03-111-4/+36
| | | | | | | | | | | | dev-lang/rust or dev-lang/rust-bin install more than one binary (program), just checking for "rustc" is not enough. In addition, set of installed programs depends on USE flags. This new (internal) function will check for all provided programs. Bug: https://bugs.gentoo.org/671182 Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>
* Use variables for common used pathsThomas Deutschmann2019-03-111-17/+20
| | | | Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>
* Generate & add ChangeLog when creating dist targetThomas Deutschmann2019-03-101-0/+18
| | | | Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>
* Reorganize file structureThomas Deutschmann2019-03-1012-6183/+10
| | | | | | | Copy eselect-python layout which will allow for live ebuilds in future. Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>
* Update header & maintainerThomas Deutschmann2019-03-091-4/+5
|
* add last-set file, fix unsetting0.3_pre20150428Jauhien Piatlicki2015-04-281-17/+38
|
* [README] create documentation0.3_pre20150425Jauhien Piatlicki2015-04-241-0/+81
|
* fix version in configureJauhien Piatlicki2015-04-242-11/+11
|
* make symlink management configurable on per package basisJauhien Piatlicki2015-04-241-25/+62
|
* Merge pull request #2 from geovex/master0.2_pre20150206Jauhien Piatlicki2015-02-061-1/+3
|\ | | | | rust-gdb support
| * rust-gdb supportHeorhi Valakhanovich2015-01-141-1/+3
|/ | | | | Seems like new rust installs rust-gdb script instead of lldb. and eselect should be aware of this.
* handle rust-lldb symlink0.2_pre20141128Jauhien Piatlicki2014-11-281-0/+2
|
* write language name from the capital letterJauhien Piatlicki2014-10-111-6/+6
|
* split out emacs, vim and zsh stuff and prepare for handling of rust ↵0.2_pre20141011Jauhien Piatlicki2014-10-101-106/+26
| | | | compilers provided by different packages
* fix unset action0.1_pre20140820Jauhien Piatlicki2014-08-191-1/+5
| | | | help and elisp-site-regen, see https://github.com/Heather/gentoo-rust/issues/29
* update action: --if-invalid option added0.1_pre20140819Jauhien Piatlicki2014-08-191-1/+20
|
* fix find_targetsJauhien Piatlicki2014-08-191-1/+1
|
* add unset actionJauhien Piatlicki2014-08-191-14/+32
|
* add update actionJauhien Piatlicki2014-08-191-0/+32
|
* first working versionJauhien Piatlicki2014-08-1911-0/+6388
|
* initial commitJauhien Piatlicki2014-08-191-0/+0