Skip to content

regex mismatch with package_name #115

@mpadge

Description

@mpadge

@xuanxu We had a recent glitch where this request let to these lines:

def finalize_transfer
org_team_name = "#{params.package_name}"
org_team_name = "ropensci/#{org_team_name}" unless org_team_name.start_with?("ropensci/")

receiving a params.pkg_name value of partialling_out instead of partialling.out. The event_regex accepts the dot okay:
@event_regex = /\A@#{bot_name} (finalize|finalise) transfer of ([\/\w-]+)?\.?\s*\z/i

So I can't find where this might be going wrong? Any help would be appreciated! Ping @maelle

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions