Skip to content

Move drud api client into drud plugin and vault client into legacy plugin #1

Closed

Description

@frodopwns

Previously there were multiple subcommands using global clients for drud api and vault.

In this new project those clients are only necessary in the plugins where those clients are needed.

The drud client is only used to get site data from drud hosting. The client should be instantiated on site init or in a new method in local/drud.go.

The vault client is used by the legacy plugin to retrieve site data. It should now be instantiated somewhere in local/legacy.go. The contents of databags.go relate specifically to legacy sites so databags should be merged into legacy.go or the plugins should be made into subpackages.

Activity

  1. self-assigned this
    on Feb 2, 2017
  2. frodopwns commented on Feb 4, 2017

    @frodopwns
    ContributorAuthor
  3. frodopwns commented on Feb 15, 2017

    @frodopwns
    ContributorAuthor

    change merged

  4. added 6 commits that reference this issue on Mar 22, 2017
  5. added a commit that references this issue on Apr 30, 2018
  6. added 5 commits that reference this issue on Jun 18, 2026
    9793c4b
    3d5716d
    385b44f
    8318d79
    2ebd136
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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