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

dist-git: make the cgitrc include file smaller #2793

Merged
merged 1 commit into from
Jun 27, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 2 additions & 17 deletions dist-git/run/copr-dist-git-refresh-cgit
Original file line number Diff line number Diff line change
Expand Up @@ -26,25 +26,10 @@ single_repo ()
*.git) ;;
*) subpath=$subpath.git ;;
esac
cat <<EOF

echo "
repo.url=$subpath
repo.name=$subpath
repo.path=/$reposdir/$subpath/
repo.owner=
repo.desc=Unnamed repository; edit this file 'description' to name the repository.
repo.section=
repo.enable-blame=0
repo.enable-commit-graph=0
repo.enable-log-filecount=0
repo.enable-log-linecount=0
repo.enable-remote-branches=0
repo.enable-subject-links=0
repo.enable-html-serving=0
repo.hide=0
repo.ignore=0

EOF
repo.path=$reposdir/$subpath/"
}

tempfile_from ()
Expand Down