add README
This commit is contained in:
commit
4b3a4c0f26
51
README
Normal file
51
README
Normal file
@ -0,0 +1,51 @@
|
||||
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
|
||||
...
|
Loading…
x
Reference in New Issue
Block a user