Commit Graph

1328 Commits

Author SHA1 Message Date
morganamilo
7f064db676
Fix build when go module is enabled 2018-09-15 18:47:46 +01:00
morganamilo
90d8b15c59
Convert to go modules 2018-09-15 17:42:34 +01:00
Jguer
b10b88faf6
Update vendored dependencies
Signed-off-by: Jguer <me@jguer.space>
2018-09-14 01:29:33 +01:00
Anna
47702f4cec
Merge pull request #682 from Morganamilo/pacmanconfig
Use go-pacmanconf for config parsing
2018-09-10 23:20:37 +01:00
morganamilo
7251ffac8a
Add test for reading pacman config 2018-09-10 23:07:34 +01:00
morganamilo
b2f636d93b
Use go-pacmanconf for config parsing
This moves the config parsing from out of alpm and into the
go-pacmanconf libary plus some boilerplate code to get it into our alpm
config.

This makes sense as many config options such as UseColor and CleanMethod
have nothing to do with alpm and only relate to pacman.

pacman-conf is used instead of direct config parsing. This tool resolves
defaults and includes for us, so we don't need to handle it.

It is now safe to drop all the config parsing from go-alpm.
2018-09-10 23:07:34 +01:00
morganamilo
83d3411549
Add go-pacmanconf 2018-09-10 23:07:34 +01:00
Anna
8248c803a0
Merge pull request #693 from Morganamilo/fix#629
Don't assume the go root
2018-09-07 19:14:10 +01:00
morganamilo
81bccfd34e
Don't assume the go root
The go root might be in different places if the user is using
a different go binary that is not managed by the system (eg
/usr/local/bin/go). In this case the go binary should be smart enough to
default to it's own go root. Or if there are still problems, it is on
the user to configure it themselves.
2018-09-07 18:56:50 +01:00
Jguer
6e0797a8c7
Set version manually for gcc-go
Signed-off-by: Jguer <me@jguer.space>
2018-09-05 09:21:11 +01:00
Anna
7133a1252e
Merge pull request #688 from Morganamilo/expandenv
Fix builddir defaulting to config instead of cache
2018-09-04 23:24:24 +01:00
morganamilo
c004364864
Fix builddir defaulting to config instead of cache 2018-09-04 23:19:31 +01:00
Anna
d3a2a060b2
Merge pull request #687 from Morganamilo/expandenv
Expand env before making builddir
2018-09-04 23:07:59 +01:00
morganamilo
0e695468b8
Expand env before making builddir 2018-09-04 23:07:26 +01:00
Jguer
a109ea480c
Set version manually for gcc-go
Signed-off-by: Jguer <me@jguer.space>
2018-09-04 20:18:33 +01:00
Anna
98d27360f7
Merge pull request #684 from Morganamilo/limitpkgbuilddownload
Fixup some download bugs
2018-09-04 20:05:30 +01:00
morganamilo
5c7d6fa3be
Fix --rebuild logic 2018-09-04 20:03:27 +01:00
morganamilo
1beeaaf299
Limit download concurrency to 25 threads 2018-09-04 20:03:23 +01:00
morganamilo
2b6a73041f
Fix redownload logic
--redownload was reversed and redownloaded the deps instead of the
targets.
2018-09-04 19:39:15 +01:00
Anna
bbeaf5bc6e
Merge pull request #683 from Morganamilo/fix#681
Fix depends sometimes being ordered incorrectly
2018-09-04 19:30:41 +01:00
morganamilo
00b880baf9
Fix depends sometimes being ordered incorrectly 2018-09-04 17:48:59 +01:00
Anna
e945f1200a
Merge pull request #678 from Morganamilo/fix#639
Expand environment variables in config
2018-09-01 11:54:59 +01:00
morganamilo
8c1658df0b
Expand environment variables in config 2018-08-31 21:20:40 +01:00
Jguer
b757d0abd3
Set correct version for manual builds
Signed-off-by: Jguer <me@jguer.space>
2018-08-31 13:33:01 +01:00
J Guerreiro
ead1ad5797
Merge pull request #676 from Morganamilo/fix#654
Dont rm directories with -G unless using -f
2018-08-30 20:40:21 +01:00
Anna
103edc2931
Merge pull request #675 from cirelli94/patch-1
Fix typo in  README.md
2018-08-30 16:12:42 +01:00
morganamilo
0657f7e23f
Complete -f for -G and --print -> --show 2018-08-30 16:09:08 +01:00
morganamilo
29642d181f
Document -f for -G and --print -> --show 2018-08-30 16:09:00 +01:00
Cirelli
ae06ca2380
Fix typo 2018-08-30 17:02:20 +02:00
morganamilo
004595a396
Dont rm directories with -G unless using -f 2018-08-30 15:30:52 +01:00
Anna
070f103fb9
Merge pull request #674 from Morganamilo/shell
Update shell completion for --aururl
2018-08-30 11:35:19 +01:00
morganamilo
5996e28e32
Use tabs and use pacman-conf over config parsing
This makes our zsh completion more similar to pacmans. Making it easier
to view diffs between the two.
2018-08-30 11:32:14 +01:00
morganamilo
127c5e7cb9
Update shell completion for --aururl 2018-08-30 11:06:03 +01:00
digimokan
0a120132ec README grammar, spelling, rewording, organizing (#661)
* README grammar, spelling, rewording, organizing

- Add "Objectives" section to group objectives.
- Transform Objective/Feature section bullets into action phrases.
- Fix yay/yaourt/etc capitalization. Italicize and follow ArchWiki style.
- Clearly identify the two Install section options with similar wording.
- Reorganize and reword Contributing section.
- Fix wording in last Code Style section sentence.
- Fix misc FAQ wording.
- Use same style for all FAQ issue links.
- Change link in "skipping packages" FAQ item to ArchWiki partial upgrade.
- Fix FAQ aur-only/repo-only cmd example line-spacing.
- Remove yay -Pu example since it is a deprecated (and wrapped) option.

* Fixup remove trailing newline in README file

* Add warning about editing files in vendor/

* Fixup revert italicized project/program names

* Change obj to Yaourt-style interactive srch/inst

* Change obj to Minimal dependencies

* Remove the limit-to-pacman deps feature

* Revert init-install sentence, but add "alternatively"

* Add provide-handling bullet to features

* Revert aur/repo-only FAQ item to one line

* Format cmd line examples similar to man page format

* Revert interface-for-pacman objective

* Mention dep instead of just saying don't touch

* Merge gopath into the build stage

Setting the gopath is more of a note than a step. It is not required and
I would expect most people can simply ignore it.

* Reword dependencies section.

The contributing section should be information and say what dependencies
are needed. There's no need to tell the user how to install them, they
can figure that out themselves.

Also mention git as a dependency.

* Tweak headings and drop numbers

Similar to the last commit. The headings should be
informative "Code Style", not commanding "Check code".

* yay -> Yay

Be more consistent when writing Yay as a name.

* Use ### instead of #### in Contributing

These are real subheadings, #### looks too small.

* Add support section
2018-08-30 10:54:16 +01:00
Anna
5e23a2fc6b
Merge pull request #669 from Morganamilo/tests-aururl
Fix tests and document --aururl
2018-08-29 23:19:10 +01:00
morganamilo
92ff640a65
Document --aururl 2018-08-29 21:18:37 +01:00
morganamilo
c93b3fca9e
Fix tests 2018-08-29 21:15:01 +01:00
J Guerreiro
73a171f48c
Merge pull request #668 from Jguer/fix-650
Make hash an unsigned integer
2018-08-29 18:31:05 +01:00
Jguer
d0cb79de6b
Make hash an unsigned integer 2018-08-29 18:30:16 +01:00
J Guerreiro
acced8c440
Merge pull request #665 from Morganamilo/fix#664
Expand documentation for --devel
2018-08-28 20:22:40 +01:00
Anna
4c351bdad8
Merge pull request #666 from Morganamilo/rm-timeout
Remove the timeout warning for vcs checks
2018-08-28 04:39:43 +01:00
morganamilo
6894ddfd5c
Remove the timeout warning for vcs checks
This message is proving to be more misleading than helpful. For
git+https sources, many hosts seem to always timeout when trying
ls-remote over git:// but then succeed on https://. This leads to
a time out message being displayed even though the URL was queried
successfully on the second try.
2018-08-28 04:38:58 +01:00
morganamilo
d34ce70455
Expand documentation for --devel
Correclty say Git instead of GitHub
Brielfly explain how --devel checks for updates
Give an example of pacaur-like devel
2018-08-28 04:33:51 +01:00
J Guerreiro
31aca68980
Merge pull request #625 from Morganamilo/updatebashcompletion
Update bash completion
2018-08-23 13:55:58 +01:00
Anna
0a136a3932
Merge pull request #648 from kkjdroid/master
Fixed spelling errors
2018-08-20 17:13:46 +01:00
Kenny Jackson
b39f7494df Fixed spelling errors 2018-08-20 12:05:56 -04:00
Anna
261070bf9d
Merge pull request #646 from Morganamilo/fix#623
Correctly set config.AURURL after parsing flags
2018-08-19 05:56:54 +01:00
morganamilo
2f545c7fdc
Correctly set config.AURURL after parsing flags
And also honour aururl during -Pc
2018-08-19 05:53:32 +01:00
Anna
3ab8a92421
Merge pull request #645 from Morganamilo/fix#623
Add --aururl
2018-08-19 05:19:48 +01:00
morganamilo
0454e8918b
Add --aururl 2018-08-19 05:10:24 +01:00