https://www.puppet.com/community logo
Join Slack
Powered by
# voxpupuli
  • s

    Slackbot

    05/12/2022, 4:54 PM
    This message was deleted.
    b
    • 2
    • 1
  • v

    VoxBot

    05/12/2022, 4:54 PM
    perhaps it would help if supersedes would be required when deprecating so you need some explicit choice "this is dead"
  • v

    VoxBot

    05/12/2022, 4:55 PM
    ewoud: Corey's proposal is to add a new metadata key so that module authors can claim in a non-authoritative way that their module supersedes another.
  • v

    VoxBot

    05/12/2022, 4:55 PM
    I get that, but I'd be worried about takeovers
  • v

    VoxBot

    05/12/2022, 4:55 PM
    so at most you can signal potential replacements
  • v

    VoxBot

    05/12/2022, 4:55 PM
    and then perhaps the Forge could show those in a sidebar, eg "also see....."
  • v

    VoxBot

    05/12/2022, 4:56 PM
    sure, the messaging would have to be explicit about that
  • v

    VoxBot

    05/12/2022, 4:56 PM
    another way could be to use the source URL
  • s

    Slackbot

    05/12/2022, 4:56 PM
    This message was deleted.
    n
    • 2
    • 1
  • d

    Dr Bunsen Honeydew

    05/12/2022, 4:56 PM
    See the
    camptocamp-postfix
    module at https://forge.puppet.com/camptocamp/postfix?src=slack&channel=voxpupuli
  • v

    VoxBot

    05/12/2022, 4:56 PM
    metadata does have that so you could possibly detect transfers
  • v

    VoxBot

    05/12/2022, 4:57 PM
    so what you could in theory do is clone the source URL, read metadata from there and take that as a replacement
  • v

    VoxBot

    05/12/2022, 4:58 PM
    ewoud: source url is tricky. In theory we could follow it back to the repo and see where it was cloned from, but what about bitbucket or svn or gitlab or..... We'd have to implement that logic for all providers
  • v

    VoxBot

    05/12/2022, 4:58 PM
    well, how many cases are there really?
  • v

    VoxBot

    05/12/2022, 4:58 PM
    ewoud: and what if you forked a repo as a starting point but then built a different module from it?
  • v

    VoxBot

    05/12/2022, 4:59 PM
    (terrible practice, but people do it)
  • b

    bastelfreak

    05/12/2022, 4:59 PM
    I would prefer it if we only check the forge for a successor module
  • v

    VoxBot

    05/12/2022, 4:59 PM
    a module needs to be 1) outdated 2) without a superseded field 3) non-GH
  • v

    VoxBot

    05/12/2022, 4:59 PM
    I think you could even do a batch job on the forge and find possible replacements, then handle it manually
  • v

    VoxBot

    05/12/2022, 5:00 PM
    I'd be surprised if the count is that high
  • v

    VoxBot

    05/12/2022, 5:00 PM
    ewoud: I am working on some Relay workflows to audit our own modules (eg, make sure the right modules have the [Supported] tag, etc.) This isn't terribly different from that.
  • v

    VoxBot

    05/12/2022, 5:00 PM
    and if it is, you could email authors "you deprecated this module, we found possible replacements, want to choose one?"
  • v

    VoxBot

    05/12/2022, 5:01 PM
    ewoud: I also want to check source url for archived repos, and other kinds of housekeeping
  • v

    VoxBot

    05/12/2022, 5:01 PM
    oh yes, that also sounds useful
  • v

    VoxBot

    05/12/2022, 5:01 PM
    ewoud: and the workflows will be OSS, if people want to contribute checks
  • n

    nwops

    05/12/2022, 5:02 PM
    These are all good ideas. We need to put these somewhere. Dont’ want to lose the slack log.
  • v

    VoxBot

    05/12/2022, 5:02 PM
    like https://forge.puppet.com/modules/puppetlabs/xinetd isn't deprecated but https://github.com/puppetlabs/puppetlabs-xinetd is archived
  • v

    VoxBot

    05/12/2022, 5:03 PM
    and Foreman actually depends on that module (for now), I also indicated I wanted to become a maintainer on it but got literally nowhere with puppetlabs
  • v

    VoxBot

    05/12/2022, 5:03 PM
    (see https://github.com/puppetlabs/puppetlabs-xinetd/pull/122 for my frustration)
  • v

    VoxBot

    05/12/2022, 5:04 PM
    ewoud: yes, expect those to be resolved in roughly 2 weeks. lvm, rsync, xinetd should be unarchived again.
1...323334...648Latest