File tree Expand file tree Collapse file tree 1 file changed +0
-47
lines changed Expand file tree Collapse file tree 1 file changed +0
-47
lines changed Original file line number Diff line number Diff line change @@ -2901,53 +2901,6 @@ function generate_mention_report_for_package() {
2901
2901
grep_pkg " ${scripts} " " ${pkg} " " :(exclude)${ps} " " :(exclude)${co} "
2902
2902
}
2903
2903
2904
- # Gets a toplevel update reports directory for a package. This is
2905
- # where occurences and non-ebuild diffs are stored.
2906
- #
2907
- # Params:
2908
- #
2909
- # 1 - package name
2910
- # 2 - name of a variable where the path will be stored
2911
- function update_dir_non_slot() {
2912
- local pkg
2913
- pkg=${1} ; shift
2914
- local -n dir_ref=${1} ; shift
2915
-
2916
- # shellcheck source=for-shellcheck/globals
2917
- source " ${WORKDIR} /globals"
2918
-
2919
- dir_ref=" ${REPORTS_DIR} /updates/${pkg} "
2920
- }
2921
-
2922
- # Gets a slot specific update reports directory for a package. This is
2923
- # where ebuild diffs are stored.
2924
- #
2925
- # Params:
2926
- #
2927
- # 1 - package name
2928
- # 2 - old slot
2929
- # 3 - new slot
2930
- # 4 - name of a variable where the path will be stored
2931
- function update_dir() {
2932
- local pkg old_s new_s
2933
- pkg=${1} ; shift
2934
- old_s=${1} ; shift
2935
- new_s=${1} ; shift
2936
- local -n dir_ref=${1} ; shift
2937
-
2938
- # slots may have slashes in them - replace them with "-slash-"
2939
- local slot_dir
2940
- if [[ ${old_s} = " ${new_s} " ]]; then
2941
- slot_dir=${old_s// \/ / -slash-}
2942
- else
2943
- slot_dir=" ${old_s// \/ / -slash-} -to-${new_s// \/ / -slash-} "
2944
- fi
2945
-
2946
- local ud_non_slot_dir
2947
- update_dir_non_slot " ${pkg} " ud_non_slot_dir
2948
- dir_ref=" ${ud_non_slot_dir} /${slot_dir} "
2949
- }
2950
-
2951
2904
# Gets a slot-specific directory name for ebuild diffs.
2952
2905
#
2953
2906
# Params:
You can’t perform that action at this time.
0 commit comments