Go to file
2022-10-13 22:47:08 +03:00
conflicts_getter.go add conflicts_getter.go 2022-10-13 22:46:14 +03:00
conflicts_printer.go add conflicts_printer.go 2022-10-13 22:46:53 +03:00
go.mod add go.mod 2022-10-13 22:46:02 +03:00
main.go add main.go 2022-10-13 22:47:08 +03:00
README add README 2022-10-13 22:45:09 +03:00

Misconfict Getter - is a program to get msiconflict for tested task and print it
in pretty format

--------------------------------------------------------------------------------
PreInstallation (Use Alt Linux distro based on P10 or Sisyphus)

Install necessary package:

    # apt-get install golang git -y

Clone source code and go to its directory:

    $ git clone ssh://gitea@gitea.basealt.ru/dutyrok/misconflicts_getter.git &&
      cd misconflicts_getter

Create ~/.local/bin direcotry and add it to PATH enviroment variable:

    $ mkdir -p ~/.local/bin && \
      echo 'PATH=$PATH:~/.local/bin' >> ~/.bash_profile

Set GOBIN go enviroment variable:

    $ go env -w GOBIN=~/.local/bin

--------------------------------------------------------------------------------
Build and Install

For build and install execute one command in misconflicts_getter direcotry:

    $ go install .

--------------------------------------------------------------------------------
Usage

For use program do next:

    $ misconflicts_getter <task_number>

For example:

    $ misconflicts_getter 305052

Output will next:

    postgresql10-perl - postgresql9.5-perl
                        postgresql9.6-perl
                        postgresql9.4-perl
    postgresql11-tcl - postgresql9.4-tcl
                       postgresql9.6-tcl
                       postgresql9.5-tcl
    ...