Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support to embed source metadata from git #1444

Merged
merged 9 commits into from
Aug 11, 2022

Commits on May 23, 2022

  1. metadata: Initial implementation for source metadata from git repo

    Signed-off-by: Nitish Gupta <imnitish.ng@gmail.com>
    imnitishng committed May 23, 2022
    Configuration menu
    Copy the full SHA
    dd422a5 View commit details
    Browse the repository at this point in the history
  2. tests: Add partial unit tests for source metadata from git

    Signed-off-by: Nitish Gupta <imnitish.ng@gmail.com>
    imnitishng committed May 23, 2022
    Configuration menu
    Copy the full SHA
    4ea4993 View commit details
    Browse the repository at this point in the history
  3. tests: Update tests and dependencies

    Signed-off-by: Nitish Gupta <imnitish.ng@gmail.com>
    imnitishng committed May 23, 2022
    Configuration menu
    Copy the full SHA
    93c0f3b View commit details
    Browse the repository at this point in the history
  4. metadata: Add support for remote

    - Add support to fetch and save the origin remote URL of a git repo
    
    Signed-off-by: Nitish Gupta <imnitish.ng@gmail.com>
    imnitishng committed May 23, 2022
    Configuration menu
    Copy the full SHA
    e75def3 View commit details
    Browse the repository at this point in the history
  5. tests: Add tests for parsing refs and remote URL

    Signed-off-by: Nitish Gupta <imnitish.ng@gmail.com>
    imnitishng committed May 23, 2022
    Configuration menu
    Copy the full SHA
    927da53 View commit details
    Browse the repository at this point in the history
  6. metadata: Update git describe logic for multiple branches

    - Add ability to parse tags if they exist in multiple branches
    - Add test cases to cover possible branching and tag scenarios
    - Add new util method and tests
    
    Signed-off-by: Nitish Gupta <imnitish.ng@gmail.com>
    imnitishng committed May 23, 2022
    Configuration menu
    Copy the full SHA
    073f3ea View commit details
    Browse the repository at this point in the history

Commits on May 25, 2022

  1. chore: Proper error handling, move files and add few unit tests

    Signed-off-by: Nitish Gupta <imnitish.ng@gmail.com>
    imnitishng committed May 25, 2022
    Configuration menu
    Copy the full SHA
    032e9e7 View commit details
    Browse the repository at this point in the history

Commits on Aug 5, 2022

  1. Merge branch 'main' into 13-05-git-source-metadata

    Signed-off-by: Javier Romero <root@jromero.codes>
    jromero committed Aug 5, 2022
    Configuration menu
    Copy the full SHA
    6ce2abe View commit details
    Browse the repository at this point in the history
  2. Remove old git library version

    Signed-off-by: Javier Romero <root@jromero.codes>
    jromero committed Aug 5, 2022
    Configuration menu
    Copy the full SHA
    58c1f56 View commit details
    Browse the repository at this point in the history