Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: cloudquery/plugin-sdk
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v4.4.0
Choose a base ref
...
head repository: cloudquery/plugin-sdk
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v4.5.0
Choose a head ref
  • 4 commits
  • 23 files changed
  • 3 contributors

Commits on Aug 9, 2023

  1. fix: Scalar timestamp parsing (#1109)

    This was broken with #1095 (at least for the test source, which gets its data from testdata)
    disq authored Aug 9, 2023
    1 Configuration menu
    Copy the full SHA
    c15b214 View commit details
    Browse the repository at this point in the history

Commits on Aug 14, 2023

  1. fix(deps): Update github.com/cloudquery/arrow/go/v13 digest to e9683e1 (

    #1144)
    
    This PR contains the following updates:
    
    | Package | Type | Update | Change |
    |---|---|---|---|
    | [github.com/cloudquery/arrow/go/v13](https://togithub.com/cloudquery/arrow) | replace | digest | `f53878d` -> `e9683e1` |
    
    ---
    
    ### Configuration
    
    📅 **Schedule**: Branch creation - "before 3am on Monday" (UTC), Automerge - At any time (no schedule defined).
    
    🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.
    
    ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
    
    🔕 **Ignore**: Close this PR and you won't be reminded about this update again.
    
    ---
    
     - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box
    
    ---
    
    This PR has been generated by [Renovate Bot](https://togithub.com/renovatebot/renovate).
    <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNi40Mi40IiwidXBkYXRlZEluVmVyIjoiMzYuNDIuNCIsInRhcmdldEJyYW5jaCI6Im1haW4ifQ==-->
    cq-bot authored Aug 14, 2023
    1 Configuration menu
    Copy the full SHA
    763c549 View commit details
    Browse the repository at this point in the history
  2. feat: Add publish command (#1143)

    As we are productionizing and rolling out our own registry we need to move from our format being documented in a yaml file inside goreleaser to being part of our code and part of the sdk.
    
    Right now this just build the package without publishing as our backend is not ready but nailing down this will also help finalize the backend which Im working on as well.
    
    The idea here is **not** to introduce a `package.json` file like  in npm and then create yet another language inside `json` or `yaml` config but rather the other way around and use all the information we already have from the plugin author and build a package with a manifest.json so everything is configurable in the code.
    
    we will have two types of packages in our registry:
    - `native` (for languages like Go/Rust/C)
    - `docker` (for runtime language like .net, Java, Python)
    
    For native this will looks the following:
    
    ```
    ls -l ./dist
    (base) yevgenyp@yevgenys-mbp aws % ls -l dist 
    total 1142360
    -rw-r--r--  1 yevgenyp  staff        447 Aug 13 20:08 plugin.json
    -rw-r--r--  1 yevgenyp  staff  145537822 Aug 13 20:08 plugin_darwin_amd64.zip
    -rw-r--r--  1 yevgenyp  staff  145537822 Aug 13 20:08 plugin_darwin_arm64.zip
    -rw-r--r--  1 yevgenyp  staff  145537820 Aug 13 20:07 plugin_linux_amd64.zip
    -rw-r--r--  1 yevgenyp  staff  145537824 Aug 13 20:07 plugin_windows_amd64.zip
    -rw-r--r--  1 yevgenyp  staff    2726434 Aug 13 20:07 tables.json
    (base) yevgenyp@yevgenys-mbp aws % 
    ```
    
    manifest will look the following:
    
    ```
    cat plugin.json
    {
      "name": "aws",
      "version": "Development",
      "title": "aws",
      "short_description": "",
      "description": "",
      "categories": [],
      "protocols": [
        3
      ],
      "supported_targets": [
        {
          "os": "linux",
          "arch": "amd64"
        },
        {
          "os": "windows",
          "arch": "amd64"
        },
        {
          "os": "darwin",
          "arch": "amd64"
        },
        {
          "os": "darwin",
          "arch": "arm64"
        }
      ],
      "package_type": "native"
    }
    ```
    
    This will make sure the cloudquery package registry has all the information needed to publish it, display it on CloudQuery Hub and give it for client to download without running the plugins itself. Not running the plugin itself is important for the following reasons:
    - Security: not running untrusted code in our environment.
    - Developer experience: moving any issues closer to the developer and shortening the debugging/publishing loop. 
    
    Once it gets a first review I'll also add tests.
    yevgenypats authored Aug 14, 2023
    1 Configuration menu
    Copy the full SHA
    fdd44d5 View commit details
    Browse the repository at this point in the history

Commits on Aug 15, 2023

  1. chore(main): Release v4.5.0 (#1140)

    🤖 I have created a release *beep* *boop*
    ---
    
    
    ## [4.5.0](v4.4.0...v4.5.0) (2023-08-14)
    
    
    ### Features
    
    * Add publish command ([#1143](#1143)) ([fdd44d5](fdd44d5))
    
    
    ### Bug Fixes
    
    * **deps:** Update github.com/cloudquery/arrow/go/v13 digest to e9683e1 ([#1144](#1144)) ([763c549](763c549))
    * Scalar timestamp parsing ([#1109](#1109)) ([c15b214](c15b214))
    
    ---
    This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please).
    cq-bot authored Aug 15, 2023
    1 Configuration menu
    Copy the full SHA
    29ae63a View commit details
    Browse the repository at this point in the history
Loading