1
0
mirror of https://github.com/Jguer/yay.git synced 2025-08-17 03:57:08 +02:00
Commit Graph

12 Commits

Author SHA1 Message Date
morganamilo
b2d3eb5c49
Add new dependency code to replace the old code
This is a rewrite of the dependency system, It aims to be cleaner
written, with a better idea of what is needed from the start, meaning
less new code being hacked on for things that were not thought about.
This version also aims to use as many small functions as possible, for
cleaner code and better testing.

Added dep.go:
    general dependency functions
Added depPool.go:
    Replacement of depTree, dependencies were never ordered so
    a tree did not really make sense. Instead the term pool
    makes more sense.
Added depOrder.go:
    Replacement of depCatagories, This simply orders the
    dependencies, dependencies are still catagorized as repo and AUR
    but I believe this to be a better name
Added depCheck.go:
    Replaces conflicts.go and also contains the missing dependency
    code

This version is mostly the same as the old version with a few
improvments:
    Missing packages will print the full dependency tree
    Versioned dependency checking errors should be fixed
    Make depends should be calculated properly
    Experimental AUR provide searcher

This code has been added along side the old code for testing and is not
currently used by the install process. Once the install process is moved
to use this code, the old code will be removed.
2018-05-29 13:13:27 +01:00
morganamilo
ef7e8acb13
Refactor complex map types into their own type
map[string][]string  -> mapStringSlice
mao[string]stringSet -> mapStringSet
2018-05-07 23:42:41 +01:00
morganamilo
110a905a0c
Use filepath.Join() for adding paths together 2018-04-17 01:32:31 +01:00
morganamilo
0c0cd4f883
Add utils.go 2018-03-22 16:38:21 +00:00
Jguer
73f8c32176 Refactoring and Implemented Human sizes from alpm 2017-07-10 18:10:51 +01:00
Jguer
bd2842841a Killed util, config is now saved 2017-05-07 02:44:07 +01:00
Jguer
0473084ed2 More porting from util to config 2017-05-06 18:32:33 +01:00
Jguer
9ca98f7981 Transfer a lot of functions to Config. Establish global handle 2017-05-06 17:35:14 +01:00
Jguer
9b4667344e Refactored yay to use mikkeloscars aur package 2017-05-02 16:46:14 +01:00
Jguer
9f781c0411 Added Save info to vcs 2017-05-02 11:50:11 +01:00
Jguer
5c0650fe5a Minor bug fixed in completions. Github updates progressing. Info fetching done 2017-05-02 01:06:16 +01:00
Jguer
38617c2781 Refactored cmd/yay 2017-04-29 18:12:12 +01:00