Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • aports-turbo aports-turbo
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 11
    • Issues 11
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 1
    • Merge requests 1
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Container Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • alpinealpine
  • infrainfra
  • aports-turboaports-turbo
  • Merge requests
  • !48

tools/anitya-watch: ignore pre-release versions

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged Patrycja Rosa requested to merge ptrcnull/aports-turbo:anitya-prerelease into master Mar 15, 2022
  • Overview 1
  • Commits 1
  • Pipelines 0
  • Changes 1

i have no some idea how lua works, here's the messages anitya sends via zmq:

new package
{
  distro = {
    name = "Alpine",
    <metatable> = <1>{
      __name = "object"
    }
  },
  message = {
    agent = "ptrcnull",
    distro = "Alpine",
    new = "sbctl",
    project = "sbctl",
    <metatable> = <table 1>
  },
  project = {
    backend = "GitHub",
    created_on = 1647305303,
    ecosystem = "https://github.com/Foxboron/sbctl",
    homepage = "https://github.com/Foxboron/sbctl",
    id = 242865,
    name = "sbctl",
    regex = <2>{ -- null
      <metatable> = {
        __name = "null",
        __tostring = <function 1>
      }
    },
    stable_versions = {
      <metatable> = <3>{
        __name = "array"
      }
    },
    updated_on = 1647305303,
    version = <table 2>,
    version_url = <table 2>,
    versions = {
      <metatable> = <table 3>
    },
    <metatable> = <table 1>
  },
  <metatable> = <table 1>
}
version update
{
  distro = <1>{ -- null
    <metatable> = {
      __name = "null",
      __tostring = <function 1>
    }
  },
  message = {
    agent = "anitya",
    ecosystem = "https://github.com/Foxboron/sbctl",
    odd_change = false,
    old_version = "",
    packages = { {
        distro = "Alpine",
        package_name = "sbctl",
        <metatable> = <2>{
          __name = "object"
        }
      },
      <metatable> = <3>{
        __name = "array"
      }
    },
    project = {
      backend = "GitHub",
      created_on = 1647305303,
      ecosystem = "https://github.com/Foxboron/sbctl",
      homepage = "https://github.com/Foxboron/sbctl",
      id = 242865,
      name = "sbctl",
      regex = <table 1>,
      stable_versions = { "0.8", "0.7", "0.6", "0.5", "0.4", "0.3", "0.2", "0.1",
        <metatable> = <table 3>
      },
      updated_on = 1647305322,
      version = "0.8",
      version_url = <table 1>,
      versions = { "0.8", "0.7", "0.6", "0.5", "0.4", "0.3", "0.2", "0.1",
        <metatable> = <table 3>
      },
      <metatable> = <table 2>
    },
    stable_versions = { "0.8", "0.7", "0.6", "0.5", "0.4", "0.3", "0.2", "0.1",
      <metatable> = <table 3>
    },
    upstream_version = "0.8",
    versions = { "0.8", "0.7", "0.6", "0.5", "0.4", "0.3", "0.2", "0.1",
      <metatable> = <table 3>
    },
    <metatable> = <table 2>
  },
  project = {
    backend = "GitHub",
    created_on = 1647305303,
    ecosystem = "https://github.com/Foxboron/sbctl",
    homepage = "https://github.com/Foxboron/sbctl",
    id = 242865,
    name = "sbctl",
    regex = <table 1>,
    stable_versions = { "0.8", "0.7", "0.6", "0.5", "0.4", "0.3", "0.2", "0.1",
      <metatable> = <table 3>
    },
    updated_on = 1647305322,
    version = "0.8",
    version_url = <table 1>,
    versions = { "0.8", "0.7", "0.6", "0.5", "0.4", "0.3", "0.2", "0.1",
      <metatable> = <table 3>
    },
    <metatable> = <table 2>
  },
  <metatable> = <table 2>
}

closes #45 (closed)

Edited Mar 15, 2022 by Patrycja Rosa
Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: anitya-prerelease