aboutsummaryrefslogtreecommitdiffstats
path: root/src/_port
Commit message (Collapse)AuthorAgeFilesLines
* Refactoring portShohei YOSHIDA2023-09-051-89/+99
| | | | | - Reduce executing external commands - Reduce escape characters
* Fix port's cache policy functionShohei YOSHIDA2023-09-041-9/+12
| | | | | | | The option of stat on macOS/BSD is wrong. So cache is always purged and cache is always recreated so it is really slow. Use 'zstat' module instead stat command for portability.
* Update linksShohei YOSHIDA2022-11-231-1/+1
|
* Fix typosDimitris Apostolou2020-04-091-1/+1
|
* _port: add new subcommands 'bump', 'diagnose' and 'reclaim'Chih-Hsuan Yen2019-10-041-0/+3
| | | | | | | | Subcommand descriptions are from upstream man pages [1][2][3]. [1] https://github.com/macports/macports-base/blob/v2.6.0/doc/port-bump.1.txt [2] https://github.com/macports/macports-base/blob/v2.6.0/doc/port-diagnose.1.txt [3] https://github.com/macports/macports-base/blob/v2.6.0/doc/port-reclaim.1.txt
* _port: add some missing valuesEitan Adler2018-07-041-1/+2
|
* DOCS: Fix references to "macOS" as "OS X", "Mac OS X", etc.Rob Speed2018-03-311-1/+1
| | | | | | | | | Apple renamed "Mac OS X" to "macOS" in 2016. * Replace instances of "OSX"/"OS X"/etc. with "macOS" in comments to reflect the change. * There are additional references to things like "osx" in functional code which are left unchanged. * Grammatical changes due to the initial letter changing from a vowel to a consonant (o => m) in some places. * Fix a unrelated minor grammatical issue.
* Add license header for _portAljaž "g5pw" Srebrnič2016-05-011-0/+28
|
* Fixed so that stat file now also works on OSXPatrik Hartlén2015-02-241-2/+9
|
* _port: Fix completion of next argumentsAljaž "g5pw" Srebrnič2014-06-261-1/+1
|
* _port: complete more subcommandsAljaž "g5pw" Srebrnič2014-06-261-0/+7
| | | | Add completions for outdated, sync and selfupdate subcommands.
* No need to use the ->string formatAljaž "g5pw" Srebrnič2014-06-261-11/+1
| | | | | If we have only one function to call fro completion, just call it. Also, remove local declaration, since we don't use the ->string form.
* A better cache policy for _portAljaž "g5pw" Srebrnič2014-06-261-2/+10
| | | | | This compares modification times of the main PortIndex for all ports and registry.db for installed ports.
* Use the -q flag when calling portAljaž "g5pw" Srebrnič2014-06-261-11/+9
| | | | | The -q flag suppresses any output other than port names, eliminating the need to further modify output.
* No need to set cache policy in the main functionAljaž "g5pw" Srebrnič2014-06-261-18/+18
| | | | | The caching policy style for _port can be set in _port_dispatch, as it is the one that uses caching.
* Add description to each port targetAljaž "g5pw" Srebrnič2014-06-261-10/+69
| | | | Also, remove targets used only in interactive mode, like 'exit' or 'cd'
* Better port upgrade completionAljaž "g5pw" Srebrnič2014-06-261-3/+14
| | | | | When upgrading, pseudo-portnames can be used. Also, add upgrade options to completion choices.
* Explicitly typeset arraysAljaž "g5pw" Srebrnič2014-06-261-1/+2
|
* Use correct command to get installed portsAljaž "g5pw" Srebrnič2014-06-261-88/+12
| | | | | This fixes a copy-paste error when we completed any port name instead of installed ones
* Use capitalized names in option descriptionAljaž "g5pw" Srebrnič2014-06-261-27/+103
|
* Add completion for rev-upgrade subcommandAljaž "g5pw" Srebrnič2013-04-021-0/+7
|
* Fix bug introduced in 3e6040e01Aljaž "g5pw" Srebrnič2013-04-021-1/+7
| | | | I can't call a function from _arguments
* Do not use state mechanismAljaž "g5pw" Srebrnič2013-04-011-48/+46
| | | | Call a dispatch function instead, simplifying the nested select case.
* Set cache-policy before calling _argumentsAljaž "g5pw" Srebrnič2013-04-011-6/+6
|
* Remove unnecessary parenthesis escapingAljaž "g5pw" Srebrnič2013-04-011-1/+1
|
* _port: add upgrade completionsAljaž "g5pw" Srebrnič2013-03-311-0/+5
| | | | Port upgrade completes only outdated ports.
* Use message instead of guardAljaž "g5pw" Srebrnič2013-03-311-1/+1
| | | | Use _message instead of _guard when completing the search pattern.
* Use own cache policyAljaž "g5pw" Srebrnič2013-03-241-0/+13
| | | | | This checks modification dates of the repository database and completion cache and refreshes the latter if it is older than the database.
* Use native caching systemAljaž "g5pw" Srebrnič2013-03-241-13/+0
|
* Moved port_select function to bottomAljaž "g5pw" Srebrnič2013-03-241-24/+43
|
* Overhauled port command completionAljaž "g5pw" Srebrnič2013-03-201-81/+109
| | | | | | | | | | Port command completion got smarter. It can now complete paths for the provides subcommand, and complete pseudo-portnames. It will complete all ports or only installed ones (for example, when completing for the uninstall command). It will complete the select subcommand with appropriate values.
* [BREAKING CHANGE] Move compdefs to own directory (to ease packaging andJulien Nicoulaud2012-08-011-0/+102
avoid bloating users fpath with unneeded files such as README.md)