Skip to content

RATIS-1575. Handle hugo lock file#641

Merged
szetszwo merged 1 commit intoapache:masterfrom
adoroszlai:RATIS-1575
May 7, 2022
Merged

RATIS-1575. Handle hugo lock file#641
szetszwo merged 1 commit intoapache:masterfrom
adoroszlai:RATIS-1575

Conversation

@adoroszlai
Copy link
Contributor

What changes were proposed in this pull request?

Exclude Hugo's lock file from source tarball, and let Rat and Git ignore it.

https://issues.apache.org/jira/browse/RATIS-1575

How was this patch tested?

$ mvn -DskipTests -Prelease -Papache-release clean package assembly:single 
...
[INFO] BUILD SUCCESS

$ ls -s ratis-docs/.hugo_build.lock
0 ratis-docs/.hugo_build.lock

$ dev-support/checks/rat.sh
...
[INFO] BUILD SUCCESS

$ tar tzvf ratis-assembly/target/apache-ratis-*-src.tar.gz| grep hugo | wc -l
       0

$ git status
On branch RATIS-1575

nothing to commit, working tree clean

@adoroszlai adoroszlai self-assigned this May 7, 2022
@adoroszlai adoroszlai requested a review from szetszwo May 7, 2022 14:16
Copy link
Contributor

@szetszwo szetszwo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

+1 the change looks good.

@szetszwo szetszwo merged commit dddb3fd into apache:master May 7, 2022
@adoroszlai adoroszlai deleted the RATIS-1575 branch May 7, 2022 19:51
@adoroszlai
Copy link
Contributor Author

Thanks @szetszwo for reviewing and committing it.

symious pushed a commit to symious/ratis that referenced this pull request Mar 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants