get /repos

get /

return

return All Configured Repositories

{
  "status": 0,
  "data": {
    "PyRmin Tools": [
      {
        "group": "PyRmin Tools",
        "name": "",
        "mirrors": null,
        "exclude": [
        ],
        "erratas": 0,
        "rpm": 17,
        "id": "pyrmin-tools",
        "includepkgs": [
        ],
        "baseurl": [
          "https://pyrmin.io/rpms/tools"
        ]
      }
    ]
  }
}

get /<id> or /<id>/get

return

Repository <id> DNF Configuration

Example

/pyrmin

{
  "baseurl": [
    "https://pyrmin.io/rpms/tools"
  ],
  "excludepkgs": [

  ],
  "gpgcheck": false,
  "group": "PyRmin",
  "id": "pyrmin",
  "includepkgs": [

  ],
  "mirrorlist": null,
  "name": "",
  "path": "pyrmin/pyrmin",
  "repo_gpgcheck": false,
  "status": 0
}

get /<id>/list

return

Packages for Repository <id>

Example

/pyrmin/list

{
  "baseurl": [
    "https://pyrmin.io/rpms/tools"
  ],
  "drpms": [

  ],
  "erratas": [

  ],
  "excludepkgs": [

  ],
  "gpgcheck": false,
  "group": "PyRmin",
  "id": "pyrmin",
  "includepkgs": [

  ],
  "mirrorlist": null,
  "name": "",
  "path": "pyrmin/pyrmin",
  "pkgs": [
    {
      "name": "depbo-tools",
      "summary": "Mikero's Tools",
      "version": "0.5.57-1.fc24.x86_64"
    }
  ],
  "repo_gpgcheck": false,
  "repourl": "https://pyrmin.io/rpms/latest/pyrmin/pyrmin",
  "status": 0
}

get /<id>/info

return

Package Info from Repository <id>

Example

/pyrmin/info?name=depbo-tools-0.5.57-1.fc24.x86_64

{
  "buildtime": 1470696566,
  "env": "latest",
  "files": [
    "/usr/bin/convertwrp",
    "/usr/bin/defxy",
    "/usr/bin/dekey",
    "/usr/bin/dep3d",
    "/usr/bin/depac",
    "/usr/bin/depew",
    "/usr/bin/derap",
    "/usr/bin/dertm",
    "/usr/bin/detex",
    "/usr/bin/dewrp",
    "/usr/bin/dewss",
    "/usr/bin/extractpbo",
    "/usr/bin/makepbo",
    "/usr/bin/moveobject",
    "/usr/bin/pbodeps",
    "/usr/bin/queryaddons",
    "/usr/bin/rapify",
    "/usr/lib64/libdepbo.so.0",
    "/usr/lib64/libdepbo.so.0.5.57",
    "/usr/share/doc/depbo-tools-0.5.57",
    "/usr/share/doc/depbo-tools-0.5.57/Conver2tPew.txt",
    "/usr/share/doc/depbo-tools-0.5.57/ConvertWrp.Fixes.txt",
    "/usr/share/doc/depbo-tools-0.5.57/ConvertWrp.ReadMe.htm",
    "/usr/share/doc/depbo-tools-0.5.57/DeFxy.ReadMe .htm",
    "/usr/share/doc/depbo-tools-0.5.57/DeKey.Fixes.txt",
    "/usr/share/doc/depbo-tools-0.5.57/DeKey.ReadMe.htm",
    "/usr/share/doc/depbo-tools-0.5.57/DeP3d.Fixes.txt",
    "/usr/share/doc/depbo-tools-0.5.57/DeP3d.ReadMe.htm",
    "/usr/share/doc/depbo-tools-0.5.57/DePac.Fixes.txt",
    "/usr/share/doc/depbo-tools-0.5.57/DePac.ReadMe.htm",
    "/usr/share/doc/depbo-tools-0.5.57/DePew.Fixes.txt",
    "/usr/share/doc/depbo-tools-0.5.57/DePew.ReadMe.htm",
    "/usr/share/doc/depbo-tools-0.5.57/DeRap.Fixes.txt",
    "/usr/share/doc/depbo-tools-0.5.57/DeRap.ReadMe.htm",
    "/usr/share/doc/depbo-tools-0.5.57/DeRtm.Fixes.txt",
    "/usr/share/doc/depbo-tools-0.5.57/DeRtm.ReadMe.htm",
    "/usr/share/doc/depbo-tools-0.5.57/DeTex.Fixes.txt",
    "/usr/share/doc/depbo-tools-0.5.57/DeTex.ReadMe.htm",
    "/usr/share/doc/depbo-tools-0.5.57/DeWrp.Fixes.txt",
    "/usr/share/doc/depbo-tools-0.5.57/DeWrp.ReadMe.htm",
    "/usr/share/doc/depbo-tools-0.5.57/Defxy.Fixes.txt",
    "/usr/share/doc/depbo-tools-0.5.57/DirPbo.ReadMe.txt",
    "/usr/share/doc/depbo-tools-0.5.57/ExtractPbo.Fixes.txt",
    "/usr/share/doc/depbo-tools-0.5.57/ExtractPbo.Readme.htm",
    "/usr/share/doc/depbo-tools-0.5.57/LintCheck.ReadMe.txt",
    "/usr/share/doc/depbo-tools-0.5.57/MakePbo.Fixes.txt",
    "/usr/share/doc/depbo-tools-0.5.57/MakePbo.ReadMe.htm",
    "/usr/share/doc/depbo-tools-0.5.57/MoveObject.Fixes.htm",
    "/usr/share/doc/depbo-tools-0.5.57/MoveObject.ReadMe.htm",
    "/usr/share/doc/depbo-tools-0.5.57/PboDeps.Fixes.txt",
    "/usr/share/doc/depbo-tools-0.5.57/PboDeps.ReadMe.htm",
    "/usr/share/doc/depbo-tools-0.5.57/QueryAddons.Fixes.txt",
    "/usr/share/doc/depbo-tools-0.5.57/QueryAddons.ReadMe.htm",
    "/usr/share/doc/depbo-tools-0.5.57/Rapify.Fixes.txt",
    "/usr/share/doc/depbo-tools-0.5.57/Rapify.ReadMe.htm",
    "/usr/share/doc/depbo-tools-0.5.57/a2_AddOns_Reference.txt",
    "/usr/share/doc/depbo-tools-0.5.57/a3_Addons_Reference.txt",
    "/usr/share/doc/depbo-tools-0.5.57/cfgPatches.ReadMe.htm",
    "/usr/share/doc/depbo-tools-0.5.57/oa_Common_Reference.txt",
    "/usr/share/doc/depbo-tools-0.5.57/oa_exp_Addons_Reference.txt",
    "/usr/share/doc/libdepbo-0.5.57",
    "/usr/share/doc/libdepbo-0.5.57/DePbo.ReadMe.txt",
    "/usr/share/doc/libdepbo-0.5.57/DePpbofixes.txt",
    "/usr/share/doc/libdepbo-0.5.57/FloatingPoint.txt",
    "/usr/share/doc/libdepbo-0.5.57/enums.txt"
  ],
  "id": "pyrmin",
  "logs": [
    "- First Release"
  ],
  "name": "depbo-tools",
  "provides": [
    "depbo-tools",
    "depbo-tools(x86-64)",
    "libdepbo.so.0()(64bit)"
  ],
  "release": "1.fc24",
  "requires": [
    "libc.so.6()(64bit)",
    "libc.so.6(GLIBC_2.2.5)(64bit)",
    "libc.so.6(GLIBC_2.3)(64bit)",
    "libc.so.6(GLIBC_2.3.4)(64bit)",
    "libc.so.6(GLIBC_2.4)(64bit)",
    "libdepbo.so.0()(64bit)",
    "libgcc_s.so.1()(64bit)",
    "libgcc_s.so.1(GCC_3.0)(64bit)",
    "liblzo2.so.2()(64bit)",
    "libm.so.6()(64bit)",
    "libm.so.6(GLIBC_2.2.5)(64bit)",
    "libogg",
    "libogg.so.0()(64bit)",
    "libstdc++.so.6()(64bit)",
    "libstdc++.so.6(CXXABI_1.3)(64bit)",
    "libstdc++.so.6(GLIBCXX_3.4)(64bit)",
    "libstdc++.so.6(GLIBCXX_3.4.9)(64bit)",
    "libvorbis",
    "libvorbis.so.0()(64bit)",
    "libvorbisenc.so.2()(64bit)",
    "libvorbisfile.so.3()(64bit)",
    "lzo",
    "rpmlib(CompressedFileNames)",
    "rpmlib(FileDigests)",
    "rpmlib(PayloadFilesHavePrefix)",
    "rpmlib(PayloadIsXz)",
    "rtld(GNU_HASH)"
  ],
  "signature": "(none)",
  "status": 0,
  "summary": "Mikero's Tools",
  "url": "https://pyrmin.io/gitlab/packaging/depbo-tools.git",
  "vendor": "None",
  "version": "0.5.57"
}

get /<id>/compare/<env>

return

Diff between 2 Repository Environments

Example

/pyrmin/compare/latest?with=qualif

{
  "add": [
    {
      "name": "depbo-tools",
      "summary": "Mikero's Tools",
      "version": "0.5.57-1.fc24.x86_64"
    }
  ],
  "from_repo": {
    "env": "latest",
    "id": "pyrmin"
  },
  "modified": [

  ],
  "remove": [

  ],
  "status": 0,
  "summary": {
    "added": 7,
    "modified": 0,
    "removed": 0
  },
  "to_repo": {
    "env": "qualif",
    "id": "pyrmin"
  }
}

get /<id>/push/<from_env>?to_env=<to_env>&pkgs[]=kernel-4.12.0-1.centos.x86_64

return

Status 0 if Package successfully copied between Environment

Example

/pyrmin/push/latest?to_env=qualif&pkgs[]=depbo-tools-0.5.57-1.fc24.x86_64

{
  "status": 0
}

get /<id>/remove/<env>

Remove Package from Repository <id> and <env>

..note:

Removing a package from latest environment will delete it from other environments
Example

/pyrmin/remove/latest?pkgs[]=depbo-tools-0.5.57-1.fc24.x86_64

{
  "status": 0,
  "files": [
    {
      "status": 0,
      "name": "/data/repos/qualif/pyrmin/pyrmin/rpms/depbo-tools-0.5.57-1.fc24.x86_64.rpm"
    }
  ]
}

get /<id>/update/<env>

Update MetaData for Repository <id> and <env>

{
  "status": 0
}

get /<id>/drpms/<env>

Create DeltaRPM for Repository <id>

You need deltas: true in packagemanager config

{
  "status": 0
}

get /<id>/sync/<env>

Synchronize Upstream Repository for <id> and <env>

{
  "status": 0
}