Skip to content

Commit

Permalink
README,*.sh: use the new upstream namespace
Browse files Browse the repository at this point in the history
  • Loading branch information
kdudka committed Aug 6, 2021
1 parent fb32526 commit 846f47f
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 10 deletions.
12 changes: 7 additions & 5 deletions README
Original file line number Diff line number Diff line change
@@ -1,21 +1,21 @@
codescan-diff utilities
=======================
csdiff, csgrep, and friends
===========================
This repository contains source codes of the csdiff tool for comparing code
scan defect lists in order to find out added or fixed defects, and the csgrep
utility for filtering defect lists using various filtering predicates. You
can find the up2date sources in the following repository:

https://github.com/kdudka/csdiff
https://github.com/csutils/csdiff

The codescan-diff utilities are licensed under GPLv3+, see COPYING for details.
Please report bugs and feature requests on GitHub using the above URL.


Dependences
-----------
* Boost 1.41+
* Boost C++ Libraries

* CMake 2.8+
* CMake 2.8.12+


Manual Installation
Expand Down Expand Up @@ -49,6 +49,8 @@ List of Utilities

cssort - sort the given defect list by the selected key

cstrans-df-run - transform RUN line in a Dockerfile


Documentation
-------------
Expand Down
6 changes: 3 additions & 3 deletions make-srpm.sh
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ VER="`echo "$VER" | sed "s/-.*-/.$TIMESTAMP./"`"

BRANCH="`git rev-parse --abbrev-ref HEAD`"
test -n "$BRANCH" || die "failed to get current branch name"
test master = "${BRANCH}" || VER="${VER}.${BRANCH//-/_}"
test "main" = "${BRANCH}" || VER="${VER}.${BRANCH//-/_}"
test -z "`git diff HEAD`" || VER="${VER}.dirty"

NV="${PKG}-${VER}"
Expand Down Expand Up @@ -87,8 +87,8 @@ Release: 1%{?dist}
Summary: Non-interactive tools for processing code scan results in plain-text
License: GPLv3+
URL: https://github.com/kdudka/csdiff
Source0: https://github.com/kdudka/csdiff/releases/download/%{name}-%{version}/%{name}-%{version}.tar.xz
URL: https://github.com/csutils/csdiff
Source0: https://github.com/csutils/csdiff/releases/download/%{name}-%{version}/%{name}-%{version}.tar.xz
# the following upstream commit is needed to work with up2date csdiff/csgrep
# https://github.com/kdudka/csmock/commit/48b09b3a
Expand Down
4 changes: 2 additions & 2 deletions upload-release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -44,12 +44,12 @@ done
JSON="./${NV}-github-relase.js"

# create a new release on GitHub
curl "https://api.github.com/repos/${USER}/${NAME}/releases" \
curl "https://api.github.com/repos/csutils/${NAME}/releases" \
-o "$JSON" --fail --verbose \
--header "Authorization: token $TOKEN" \
--data '{
"tag_name": "'"$TAG"'",
"target_commitish": "master",
"target_commitish": "main",
"name": "'"$NV"'",
"draft": false,
"prerelease": false
Expand Down

0 comments on commit 846f47f

Please sign in to comment.