Git Product home page Git Product logo

git-changelog-command-line's People

Contributors

dmitrymamchur avatar drhip avatar huygun avatar schultemarkus avatar tomasbjerre avatar tthornton3-chwy avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

git-changelog-command-line's Issues

create commit report log from stash using changelog plugin

I want to generate a report of the source code. The report should display the following details. This will be run daily per repository basis.
Commit id,Author ,Comments, Revision number,Filename,Date of commit,Jira-id for that commit
Package version used for build, Package name used for build,Package version used for deployment
Package name used for deployment

stack:stash,Jenkins,Jira,maven,nexus,Linux

ignoreCommitsOlderThan don't work

The parameter -ignore-older-than don't work properly due to DEFAULT_DATEFORMAT which is egal to YYYY-MM-dd HH:mm:ss.

This is must be replace by yyyy-MM-dd HH:mm:ss (minor yyyy) in the API project src/main/java/se/bjurr/gitchangelog/api/GitChangelogApiConstants.java

kickstart to run it

Following the README.md
image

I found no zip (only ArtifactId=git-release-notes has a zip)

image

Ok, I build for my own with

./gradlew build --stacktrace -i

./build/scripts/git-changelog-command-line -t changelog.mustache -sf changelog.json -of CHANGELOG.md

but it delivers

Error: Could not find or load main class se.bjurr.gitchangelog.main.Main

So I result in two questions:
A: where do I found a running artifact ?
B: (more important) how to build it by my own and run it ?

Example template licensing question

Dear @tomasbjerre,

First of all, thank you for this fantastic tool.
I am using it to generate the changelog for a package released under the AGPL3+.
However, I want to include the scripts and templates for build and release chores which includes my Mustache template for the CHANGELOG.md file and I'd like to distribute that template under the GNU All-Permissive License. Since that file is basically just a modified version of your Conventional Commits example, I wanted to double-check with you: Are you fine with me releasing 'my' work derived from your example under that license? Do you want me to still reference/include the Apache 2.0 License in my package? Do you want me to list you as a copyright holder of that file (and thus my package) or do you consider that snippet copyright-free so I can treat it as if I started my template from scratch instead of tweaking your example to suit my needs?
I guess the whole idea is for people to re-use that code but better safe than sorry. ๐Ÿ˜‰

Thank you in advance for any clarification.

Best,
Marcel

Update Jackson Dependencies to Resolve Security Vulnerabilities

Description:
The git-changelog-command-line project is currently using outdated versions of Jackson libraries:

  • com.fasterxml.jackson.core:jackson-core:2.5.3
  • com.fasterxml.jackson.core:jackson-databind:2.5.3
  • com.fasterxml.jackson.datatype:jackson-datatype-jsr310:2.5.3

These versions have multiple Critical and High CVEs associated with them, which are flagged during security scans of the Docker image.

Proposed Solution:
Update the Jackson dependencies to the latest version 2.17.1:

  • com.fasterxml.jackson.core:jackson-core:2.17.1
  • com.fasterxml.jackson.core:jackson-databind:2.17.1
  • com.fasterxml.jackson.datatype:jackson-datatype-jsr310:2.17.1

The latest versions can be found here.

Benefits:

  • Resolves multiple security vulnerabilities.
  • Ensures the Docker image is vulnerability-free.

References:

Thank you for considering this update to improve the security of the project.

gitLabIssuePattern missing from options

It seems that it is not possible to set an issue pattern for gitlab through the commande line.

I know the functionnality is there as I've used it successfuly with the maven plugin.

docker command line jira authentication issue

I'm able to authenticate on a Jenkins pipeline using the git-changelog-plugin this way :

    withCredentials([usernamePassword(credentialsId: atlassianCredentialsId, passwordVariable: 'JIRA_PASSWORD', usernameVariable: 'JIRA_USERNAME')]) {
        def templateString = readFile(file: templateFile)
        def changelogString = gitChangelog(from: [type: 'COMMIT', value: sinceCommit],
            jira: [issuePattern: '([A-Z]+-[0-9]+)', server: 'https://my-site.atlassian.net', username: env.JIRA_USERNAME, password: env.JIRA_PASSWORD],
            returnType: 'STRING',
            template: templateString)

However I'm not able to authenticate with the same server and credentials using docker command line

docker run --mount src="$(pwd)",target=/home/git-changelog-command-line,type=bind tomasbjerre/git-changelog-command-line:2.2.2 \
    --from-revision $1 \
    -je \
    --jira-pattern "([A-Z]+-[0-9]+)" \
    --jira-server "https://my-site.atlassian.net" \
    --jira-username "jirausername" \
    --jira-password "jirapassword" \
    -std \
    --template-content "$changelog_template"

The resulting changelogs are similar, except I'm not getting the Jira Issue Type, Title and other info using the docker command line.
Any idea of what I might be doing wrong ?

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.