Git Product home page Git Product logo

Comments (11)

cokieffebah avatar cokieffebah commented on September 16, 2024 1

@Wayonb we are going through some internal team adjustments. We will provide updates after resolving staffing issues

from sdp-libraries.

cokieffebah avatar cokieffebah commented on September 16, 2024 1

no worries, sorry for the late response

from sdp-libraries.

Wayonb avatar Wayonb commented on September 16, 2024

Hi, I am also hitting this issue with github.
Any update on when a fix will be release?

from sdp-libraries.

cokieffebah avatar cokieffebah commented on September 16, 2024

@tomhuang12 thanks. your first two corrections are probably correct. do you mind submitting a pull request?

from sdp-libraries.

cokieffebah avatar cokieffebah commented on September 16, 2024

@tomhuang12 my short review, the last problem may be the following: look at the example config: https://boozallen.github.io/sdp-docs/sdp-libraries/3/libraries/git.html.

libraries{
  git{
    github
    github_enterprise
    gitlab{
      connection (optional) = String // for gitlab_status
      job_name (optional) = String
      job_status (optional) =  "pending" or "running" or "canceled" or "failed" or "success".
    }
  }
}

from sdp-libraries.

tomhuang12 avatar tomhuang12 commented on September 16, 2024

@cokieffebah To fix the third problem, I remember reverting back just the git library to 2.5 version's.

I can submit the fix for the first two problems.

from sdp-libraries.

cokieffebah avatar cokieffebah commented on September 16, 2024

Also @tomhuang12 , look at https://github.com/boozallen/sdp-libraries/blob/3.1/libraries/git/steps/git_distributions.groovy#L71. Maybe output env.GIT_LIBRARY_DISTRUBITION to see its value. The code uses this value to pull the implementation (github|github_enterprise|gitlab). So line https://github.com/boozallen/sdp-libraries/blob/3.1/libraries/git/steps/on_pull_request.groovy#L14: def source_branch = git_distributions.fetch().get_source_branch(), functionally is: def source_branch = getStep(env.GIT_LIBRARY_DISTRUBITION).get_source_branch()

from sdp-libraries.

tomhuang12 avatar tomhuang12 commented on September 16, 2024

That could be it. I don't have access to the pipeline to test anymore :(

from sdp-libraries.

Wayonb avatar Wayonb commented on September 16, 2024

@cokieffebah In my environment GIT_LIBRARY_DISTRUBITION seem to be correct.

GIT_LIBRARY_DISTRUBITION=github

from sdp-libraries.

psig-bah avatar psig-bah commented on September 16, 2024

no new release cut/updated, but I believe the temporary fix has been approved and merged into main in #144.

from sdp-libraries.

cokieffebah avatar cokieffebah commented on September 16, 2024

This change is now in main

from sdp-libraries.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.