Changelog of @hackage/fbrnch 1.3.3

Changelog

1.3.3 (2023-10-19)

  • 'bump': add --dry-run
  • 'copr': track pkg name to output build results url on failure
  • 'create-review','update-review': prompt to offer scratch build (#43)
  • 'diff': allow origin as alias for origin/
  • 'import': encode url from bz comment if needed (#40)
  • 'import': prefix bug# with rhbz in commit (#38)
  • 'install': add --no-build to install existing built rpms
  • 'parallel': --delay to override default inter-package pause [default 3s]
  • 'parallel': use pkg name in changelog instead of nvr
  • 'parallel': print if no more layers
  • 'parallel': try to make Bodhi update prompt more obvious
  • 'request-repo': avoid head crash on firstname (#45)
  • 'request-repo': no longer post request url to avoid duplication
  • 'scratch': with --exclude-arch respect ExcludeArch: fields
  • 'unpushed': add --bump
  • 'unpushed': output improvements for --latest and dead.package/missing
  • 'update-sources': alias for "update-version --source-only"
  • 'update-version': only warn about branch if dist-git
  • 'update-version': rpm prep with --nodeps
  • 'update-version': take .gpg and .tgz file for lookaside archive!
  • Krb: loop fkinit until okay
  • Main: --dry-run options now better described
  • RpmBuild: prevent srpm creation from being interrupted (eg ctrl-c)
  • gitFetchSilent: use \r to hide "git fetching..."
  • kojiBuild: remove "Take info: " prefix before koji task url
  • kojiWatchTask: do not hardcode koji-tool path
  • pkgNameVerRel: use fedpkg to determine correct %autorelease (#39)
  • refPrompt: do not trim input for more precision

1.3.2 (2023-05-30)

  • prompts now support line-editting thanks to simple-prompt-0.2 using haskeline
  • 'parallel', 'sort', 'graph': use getDynSourcesMacros
  • 'parallel': include no of layers in "more package layers" message
  • 'parallel': output sidetag
  • 'prep': default to --nodeps
  • 'request-branches': output owners (to ask) if no permission
  • 'request-branches': committers can also request branches
  • 'scratch': print target for srpm build (only)
  • 'src-deps': add --define 'MACRO DEF'
  • 'update-version': munch spectool patch filenames too
  • Bodhi only accepts update notes <= 10000 characters now
  • Git refPrompt: also accept y/yes
  • Koji targetMaybeSidetag dryrun: do not append "-dryrun" to buildtag
  • Merge: newline after local commits
  • Package cleanChangelog: append a newline

1.3.1 (2023-04-09)

  • check for %autorelease more carefully
  • buildRequires: fix dynamic BRs with getSources and space after %_srcrpmdir (reported by kiilerix)

1.3 (2023-04-08)

  • new 'autospec' command converts packages to use rpmautospec
  • new 'move-artifacts' command moves rpmbuild artifacts into dirs (--delete)
  • new 'srpm-spec' command shows or diffs srpm specfiles
  • new 'unpushed' command shows unpushed commits; and --latest option
  • new 'bzusers' command searches users in bugzilla
  • 'build': check for Bodhi update before koji tags
  • 'build': do not repeat header when merging
  • 'build': improve logic and prompt for unpushed check
  • 'bump': add --changelog override and handle %autorelease
  • 'copr': intersperse newlines between packages
  • 'diff': --debug option to print package header
  • 'diff': handle missing and non-release branches
  • 'install': add --ignore-builddeps (for existing built rpms)
  • 'install': ignore dead.package's
  • 'install': show dnf commands with sudoLog and cmdN sudo
  • 'merge': --no-fetch option
  • 'mock': add --arch option
  • 'mock': new --shell-only option which skips build
  • 'override': default to ./ when no pkg path given
  • 'parallel': if single layer, don't output layer #
  • 'parallel': improve sidetag update transition messages, now waits 90s
  • 'parallel': output tweaks for more packages/layers and existing nvr
  • 'parallel': prompt whether to continue after failure
  • 'parallel': reverse the package order for update changelog
  • 'parallel': be quieter when many parallel packages
  • 'push': --no-fetch option and also print header
  • 'push': allow specifying a ref
  • 'rename-rawhide': now pulls to get latest
  • 'scratch': add --srpm option to build existing srpm
  • 'status': add pkg/branch prefix before latest log
  • Bugzilla: update checkRepoCreatedComment for fedora-admin automation
  • Copr branchRelease: do not error for EPELNext!
  • buildRPMs: backup the build.log file to build.log.prev
  • buildRPMs: print NVR instead of package name
  • changeLogPrompt: no trailing newline after showing changelog
  • gitPush replaces gitPushSilent
  • kojiWaitRepo: knowntag assurance parameter for build and parallel
  • kojiWatchTask: use koji-tool to get build.log tail on failure
  • use simple-prompt

1.2.1 (2022-11-23)

  • 'install': if dnf install fails, include command in error message
  • 'override': check for kerberos ticket
  • 'override': new --list and --expire option subcommands
  • 'parallel': change "0 jobs left in layer" message to "end of layer"
  • 'parallel': print package header for merge
  • 'parallel': wait for sidetag update to transition to request testing
  • 'request-branches': check package owner and admins: drop unordered-containers
  • 'sidetags': ensure krb ticket
  • 'update-version': now commits sources too
  • 'update-version': prompt rather than warn if not updating rawhide
  • Common plural: use 'no' for zero
  • Git: fix conflictPrompt to handle long hashes correctly
  • Prompt: use show for unprintable characters
  • mergeBranch: print package branch header
  • new RpmBuild module for rpm/build related functions moved from Package
  • newerMergeable may now include the newer branch
  • require bugzilla-redhat-1.0.1 since b.r.c dropped Bug see_also field (juhp/hsbugzilla#18)
  • use logMsg when waiting for repo

1.2 (2022-11-12)

  • Bodhi: for template file prompt instead of using fedpkg update
  • Bodhi: updates need to be comma separated (#36, Otto Liljalaakso)
  • Git gitMergeable: new logic for detecting older branch ahead/diverged
  • Git getNewerBranch: restore epel9 merge inheriting from fedora
  • Git: rename gitShortLog to gitOneLineLog with long hash format
  • Main: fix overlapping -s/-S options
  • Package buildRPMs: with tee return error if build failed
  • Package pkgNameVerRel: seq disttag for early error
  • Package: add withPackagesBranch, withPackagesMaybeBranch always ZeroOrOne
  • Prompt refPrompt: allow "n" for no
  • SrcDeps: factor out srcDeps (for request-branches --recursive)
  • bodhiUpdate: take comma-separated nvrs and check all the updates (#36)
  • 'build': initial support for --sidetag
  • buildRPMs: add --noclean switch for 'local' builds
  • 'compare': add --ignore to filter out matching commits
  • 'diff': fold --quiet into DiffFormat and add --ignore-bumps
  • getNewerBranch now only returns next branch
  • getRequestedBranches now only returns new branches out of specified
  • gitFetchSilent,gitFetchSilent': quiet option
  • gitFetchSilent: newline before filtered output
  • gitSwitchBranch': do not warn about missing branch if quiet
  • 'install': also count down when recursing
  • 'install': offer to merge and add --from to override branch
  • 'install': only update installed subpackages, unless --all-subpackages
  • kojiBuild': don't log if no output
  • 'local' --debug: outputs command (refactor buildRPMs)
  • 'local': add --short-compile and rename --short-circuit to --short-install
  • long-only options need simple-cmd-args-0.1.8
  • 'merge': --skip-bumps up to N (trivial) commits & --show-all; Commit and Patch
  • 'merge': add --dryrun
  • 'merge': fix getting newer branch when no --from
  • mergeBranch,gitMergeOrigin: no more gratuitous merge rebasing
  • 'mock': add simple --short-circuit option for install stage
  • new 'owner' command: prints owner and admins of package(s)
  • new 'fetch' command
  • new 'list-local' command: lists packages in branch with spec file
  • new 'src-deps' command: wrapper of rpmbuild-order (r)deps
  • 'override','waitrepo': print message before waiting
  • 'parallel' build: respect --no-merge
  • 'parallel': also accept "n" for "no" update
  • 'parallel': also time parallel branches dir
  • 'parallel': display package's number and layer
  • 'parallel': do not prompt for update when update disabled
  • 'parallel': dryrun for merge and delay until bodhiSidetagUpdate
  • 'parallel': filter out rawhide from parallel branch package builds update (#36)
  • 'parallel': formatting - use +-+, plural, don't color "is already"
  • 'parallel': no longer offers sidetag removal
  • 'parallel': only write "in layer" if there are layers
  • 'parallel': print pkg brnch header before merging
  • 'request-branches/repos': check 100 fedora-scm-requests for duplicate
  • 'request-branches': add --quiet to suppress "exists" messages
  • 'request-branches': add --recurse-from BRANCH
  • 'request-branches': do not fetch if remote branch known
  • 'request-branches': improve --quiet help
  • 'request-branches': output if exists, again
  • 'scratch' builds now support multiple (serial) targets
  • 'scratch','waitrepo': now also accept --sidetag
  • 'scratch-x86_64','scratch-aarch64': add --exclude-arch to invert arch selection
  • 'sidetags': add --remove option
  • srcDeps uses depsGraphDeps from rpmbuild-order-0.4.10
  • targetMaybeSidetag: add dryrun parameter
  • 'update': renamed to update-version
  • 'update-version': check/download missing patches with spectool
  • 'update-version': warn if branch

1.1.2 (2022-07-30)

  • add scratch-x86_64 and scratch-aarch64 shortcut commands
  • bodhiUpdate now takes multiple builds: used for parallelBranches (#30)
  • build: add --allow-dirty
  • commit: add all if nothing staged; remove initial "- "
  • commit: default to changelog even if multiline
  • compare: check branch exists and only print package if log output
  • create-review: Fix for different username/fasid (@LyesSaadi, #34)
  • install: abort if installation failed
  • install: print already installed packages on separate lines
  • kojiWaitRepo: add quiet arg for many parallel builds
  • listReviewsAll: use bz api key
  • merge: do not error if target branch does not exist
  • parallel: create changelog for parallel package builds
  • parallel: now takes same merge opts as build (#30)
  • parallel: timeIO layers and parallel packages
  • parallel: use branch to determine autoupdate or prompt for update edit
  • pull: switch to given branch, add --no-fetch, show header when several pkgs
  • rename Log to Compare and logCmd to compareCmd
  • rename withPackageByBranches to withPackagesByBranches with HeaderShow & count
  • request-branches: check user in access_users to avoid bad requests
  • request-branches: print package for existing branch
  • scratch: add --stagger to stagger archs
  • scratch: only check pushed if release branch
  • use rpmbuild-order-0.4.8 (needs simple-cmd-0.2.3)
  • waitrepo: --allow-dirty and --no-fetch
  • waitrepo: use timeIO to time the operation
  • Branches getRequestedBranches: exclude existing branches
  • Git gitMergeable: only check newer branch if local
  • Git gitMergeable: warn if branch ahead of newer branch
  • Package buildRPMs: also create build.log for silent build
  • Package buildRPMs: log start of build also for verbose
  • Package withPackagesByBranches: mention pkg name when spec names differs
  • Parallel bodhiSidetagUpdate: revert to edit update and then delete sidetag

1.1.1 (2022-05-30)

  • copr: time builds
  • commit: fix getting log from additional changelog message
  • merge: --from to specify which branch to merge
  • Package getSources: only check 'sources' if dist-git
  • Package getSources: install compression tool if missing
  • Package buildRPMs: use shellBool to send stderr also to tee
  • request-branches: print out url per branch
  • require rpm-nvr 0.1.2 for better NVR name validation
  • initial support for epel-next (#29)
  • Package builtRpms: no longer assume in cwd for dist-git
  • build: now possible to skip pushing an update at prompt with 'no'
  • main help: add readme url
  • build: add --skip-fetch option
  • Git isPkgGitRepo: fix handling of forks (#33)
  • InterleaveOutput: fix cmdSilent' to error on failure
  • parallel: add --merge (#30)
  • fix -s/-S ambigious for build and parallel
  • parallel: unlock update after sidetag removal
  • parallel: waitrepo for sidetag before starting to build
  • parallel: get buildtag from koji to determine basetag for sidetag
  • parallel: allow branch options like --all-fedora/--all-epel

1.1 (2022-04-30)

  • parallel: show target as early as possible
  • status: warn if branch does not exist rather than erroring
  • new 'ftbfs' command: lists FTBFS bugs
  • build,parallel: add --template to support bodhi update templates
  • local: --quiet option to suppress the rpmbuild output
  • sort: add --chain (#25) and --layers
  • Prompt: reject input with escape sequence chars
  • Package checkLookasideCache: accept old md5 hashes in sources too
  • merge: fetch newer branch if not local
  • merge: accept HEAD in conflict prompt
  • parallel: more output improvement tweaks
  • Package getSources: canonicalize %_sourcedir
  • Package: make sure rpmautospec is installed if needed
  • Package: support %autochangelog
  • build: fix --no-waitrepo short option to be '-W'
  • Bugzilla readIniConfig: include ini filename in parser error
  • build: extractBugReference require 7 digits RH bug id
  • Package buildRPMs: only override dir macros if not dist-git
  • Prompt: only allow printable chars in input (703a575)
  • Branches listOfBranches: return branches for non-distgit
  • build: --override now takes number of days (#31)
  • scratch now requires a target or branch for non dist-git
  • build no longer offers to merge unmergeable
  • override no longer git fetches again when doing wait-repo
  • switch: fix branch handling for multiple packages
  • print duration of builds, etc
  • parallel package now returns to original branch like build
  • override: make sure a spec file exists
  • commit: change '-u' to '-a' (all) and '-a' to '-A' (amend)
  • request-branch: don't use full path for package name
  • prep, srpm, local, scratch, mock: respect _builddir, _rpmdir, _srcrpmdir
  • Main: most commands take PKGPATH not PACKAGE name
  • build,parallel: add --severity (#32)
  • build: changelog lines can contain multiple bzs
  • build: simplify update type logic to detect pkgreview again and print
  • request-branch: always print urls
  • Git: isPkgGitRepo now ignores dist-git fork
  • Package buildRequires: use installMissingMacros for dyn BR
  • clone: --branch option is now an optional arg
  • mock: --no-clean* fix and tweak

1.0.0 (2022-02-21)

  • rpm's _sourcedir is now acts as a source cache directory: sources are in the package dir, but may be hardlinks to _sourcedir

  • getSources checks compression integrity to re-download partial tarballs and missing sources entries now only prompt once

  • initial support for %autorelease (#24)

  • 'build': consolidate nvr output

  • 'build': skip branch if already built

  • 'build': --changelog-notes to use spec changelog for Bodhi notes

  • 'bump': new --local switch

  • 'commit': --first-line to only use 1st line from changelog

  • 'commit': --staged to only commit staged changes

  • 'commit': extract incremental commit message from diff

  • 'copr': --exclude-arch option

  • 'count': new command to count packages with .spec files

  • 'diff': new --status, --filter and --filter-not options

  • 'log' renamed to 'compare'

  • 'mock': use system arch, not hardcoded to x86_64

  • 'parallel': more compact and precise output

  • 'parallel': only sleep 3s for job start and 1s when job still pending

  • 'parallel': error with pending package layers and number of packages

  • 'parallel': new --skip-to-layer option for restarting after failure

  • 'prep': --clone option

  • 'prep': install any required srpm macros (golang, rust, fonts)

  • 'reviews': output one line per package

  • 'switch': informative error when detached and use "git switch"

  • 'update': --source-only to update sources without version bump

  • 'update': add --force to re-download sources from upstream

  • 'update': check changelog versions before bumping

  • 'update': use --allow-head for updating a detached rebase

  • error with package name when no .spec file found

  • Merge: rebase after non-ancestor merge

  • ListReviews: use anonymous bugzilla queries

  • checkOnBranch and gitCurrentBranch now prompt if detached HEAD

  • update to bugzilla-redhat-1.0 and use API key bzApiKeySession

  • 'build': build by branch by default instead of by package, if >1 package

  • 'build': --[no-]waitrepo option changes default behavior with autoupdate

  • 'commit': replace --staged with --unstaged

  • 'commit': tweak changelog filter to "+- " prefix

  • 'copr': handle --all-fedora and --all-epel

  • 'list': use pagure-hs release with new Object API

  • 'mock': add --no-clean-all and --shell to enter chroot after building

  • 'parallel': output enhancements

  • 'prep': add --pull option (alternative to --clone)

  • 'prep': add --verbose for prep output

  • 'pull': add --lenient to ignore non-git dirs/files

  • 'pull': handle old master branch better

  • 'push': new git push command

  • 'rename-master' renamed to 'rename-rawhide'

  • 'request-branches': output branch names with newline

  • 'scratch': print package header by default

  • 'sort': add --parallel option to group dependent packages

  • 'update': only run spectool -g once with --force

  • 'update': only sed edit sources if it exists

  • 'update': improve the mver/pkg/dirty logic

  • Bodhi: fix for aeson-2.0

  • Bugzilla: getBzUser save email id in ~/.config/fbrnch/bugzilla

  • Bugzilla: many queries now use anonymous session

  • Krb: factor out klistEntryFedora adding maybeFasIdFromKrb

  • Krb: klist errors if no tickets

  • Package: add checkLookasideCache to checkSourcesMatch

  • Package: builtRpms: check in %_rpmdir if not distgit

  • Package: fix lookaside check url

  • Package: handle Dynamic BRs locally

  • Package: refactor checkCompression

  • allow anonymous cloning of packages

  • decouple bodhi-hs, copr-hs, pagure-hs, pdc-hs

  • fedora-dists-2.0 was released: remove the submodule

  • kojiWatchTask: don't backtrace for task failure

  • latest fedora-dists uses cached-json-file & has better releaseBranch err

  • readme: note https checkouts currently assumed anonymous (#27)

  • require rpm-nvr-0.1.1 for VerComp bugfix

0.9.1.1 (2021-08-01)

  • getSources: fix mixup between sources and patches
  • 'reviews': add --pattern for package prefix

0.9.1 (2021-07-29)

  • 'prep': cleaner output
  • 'reviews': pre-sort by bug id
  • 'scratch': --ref to specify a commit other than HEAD to build
  • 'scratch': correct --no-fast-fail to --no-fail-fast
  • 'build': --no-fast-fail now works
  • 'install': header if multiple pkgs and reinstall if force
  • 'install': better output and show number of packages
  • 'install': dnf builddep for missing (non-local) deps
  • 'install': add --verbose to show buildlog
  • 'command': --continue/-k (rename -k/--compact to -1)
  • 'command': --compact outputs package name on same line
  • 'command': also continue through errors for --if-output
  • 'command': ignore dead.package's completely
  • 'diff': fix help string for --stats
  • 'request-repos': newline between packages
  • 'request-branches': print package and/or branch, when multiple
  • 'branches': use readBranch to avoid error for fc6
  • buildRPMs: pipe to tee for build.log
  • Package: getSources now checks for and downloads patches too
  • Package: buildRPMs timestamp for build
  • Package: installDeps simplify output and use --quiet
  • Package: improve output messages for prep and rpm build failures
  • Package: getSources check if fedpkg available when pulling sources

0.9 (2021-05-30)

  • 'override' --duration and run waitrepo after all overrides
  • new 'waitrepo' command
  • 'create-review','rename-master': take no branches
  • branchPrompt now correctly defaults to two branches
  • prompts now reset stdin (#20)
  • 'build': add --no-merge and rename --no-prompt to --merge
  • 'copr': native watch-build
  • 'install-deps': use --skip-unavailable for dnf buildeps
  • 'install': switches to specified branch; allow --recurse & --rebuild
  • 'branches': add --current and support --missing
  • 'request-repo': show review comments and prompt to continue
  • merge handling improvements
  • 'scratch': display nvr before building
  • 'parallel': native koji waitTask
  • 'sidetags': default to all user's sidetags
  • 'create-review','update-review': --scratch-build TASKID option
  • Koji: timeouts to handle for network connection failures
  • 'parallel': error if no branch given
  • gitFetchSilent: show git reponame instead of dirname
  • new 'graph' command renders dependency graph using graphviz (using rpmbuild-order-0.4.5)
  • fix handling of optional branch args
  • merge: improve output when not mergeable
  • srpm: regenerate if any sources newer than existing srpm file

0.8.0 (2021-04-08)

  • 'request-repos' can now take branch args and --mock option (#18)
  • 'parallel': only override and waitrepo if more layers
  • extend dryrun to bodhiCreateOverride, putBugBuild, bodhiUpdate, kojiWaitRepo
  • drop the restriction of no packages inside a pkg dir (#19)
  • 'switch': drop git clean requirement to prevent error when on branch
  • 'parallel': use parallelBranches for single package arg
  • 'request-branch': allow request with closed pkg review
  • major refactor of branch-package args handling together with branch options
  • 'copr': new --list-chroots option for project
  • 'command': skip dead.package's
  • 'build': clearer bodhi note prompt
  • 'install': fix conflicting short options for --recurse and --reinstall

0.7.3 (2021-03-23)

  • 'scratch': don't get sources for pushed git build
  • changes/improvements to package header output
  • 'merge','build': show/query diverging newer commits
  • 'merge': add --no-prompt option
  • Build: refine the "still in testing" logic to check testing repo with prompt
  • Koji: offer to resubmit build on error
  • 'request-repos' now prompts for branching and 'import' skips offering branching if they exist
  • 'import': add --mock option for checking branches (#18)
  • add 'not-installed' command: lists packages not installed locally at all
  • Bugzilla: don't bother reprinting comment after posting it
  • 'rename-master': renamed from 'master-rename'
  • 'srpm': add --force option
  • local --force (or --short): ignore existing built rpms
  • 'command': option to hide package header if no output
  • 'create-review': fix error for non-existent dir
  • 'parallel': don't sleep 5s for dryrun

0.7.2 (2021-02-27)

  • 'install': --recurse to install missing neighboring deps
  • 'request-repo': offer to request branches too
  • 'override': --dryrun
  • Bodhi overrides: error if failed; use 4 days
  • 'build': no longer override the last of built packages
  • 'review-package': new experimental command
  • 'local','install': print package name when build fails
  • 'copr': abort on failure
  • 'sort': only switch branch for dist-git
  • bunch of other tweaks and smaller fixes

0.7.1 (2021-02-09)

  • fix package review urls and also run rpmlint on .spec
  • 'master-rename' improvements
  • workaround spectool src download bug introduced with 0.7.0.1
  • Fedora web service API libraries are now internal libraries

0.7.0.1 (2021-02-05)

  • Srpm generation: error if spectool fails to download source tarball

0.7.0 (2021-02-05)

  • reworked branch/pkg arg processing which allows branches --remote to work without a repo
  • 'local'/'install': --with/--without bcond options
  • Koji: exit if aborting incomplete build (prevents premature bugzilla comment)
  • Bugzilla: updateBug result is Array not Object
  • 'build': for a new package use rpm Summary & Url for Bodhi note
  • 'build': offer to create a Bodhi update for an already built candidate nvr
  • new 'update' command: highly experimental package version updating
  • 'diff' now works for a different branch
  • 'request-branches' now posts pagure urls to package review too
  • 'import' prompts for branching after build
  • 'build': --no-prompt replaces --merge
  • Git: more readable shortlogs
  • 'parallel': only use --background if >5 packages in layer (#17)
  • Master branches are now Rawhide
  • new 'master-rename' command: renames package master branches to rawhide

0.6.9 (2021-01-17)

  • PkgReview: use fasid for ssh (#16)
  • Bugzilla: separate commentBug from updateBug

0.6.8 (2021-01-16)

  • build: check bodhi client new update success more carefully
  • Bugzilla: correctly check that bug update succeeded
  • new 'list' command to list packages from pagure
  • branches: add --remote option
  • update to latest lts-16.29

0.6.7 (2020-12-23)

  • Bugzilla: don't conflate POST comment with PUT update
  • build/install: allow no branch arg for current directory
  • request-repos: prompt for reviewer thanks
  • request-repos: added --all-states for Modified
  • copr: only output buildargs when build fails

0.6.6 (2020-12-17)

  • Bugzilla: use POST again for comments...
  • copr: print chroots when building

0.6.5 (2020-12-03)

  • support git worktrees (experimental)
  • branches: fix --missing output for given branch and --skip-dead
  • git fetching now outputs new branches
  • build: only wait-repo if overriding or autoupdate
  • koji: improve uploading message
  • mock and scratch: --dryrun
  • add --all-fedora and --all-epel branch options (#15)

0.6.4 (2020-11-12)

  • Bugzilla: fix updating of bugs and check for error
  • import: offer to request-branches after build
  • branches: can now take branch args and --missing option
  • request-repo: thank reviewer by first name

0.6.3 (2020-10-21)

  • new 'branches' command lists package's branches
  • copr: fix running in a package dir
  • copr: revert restarting failed watch
  • mock: fix running in a package dir
  • mock: --network option
  • improve errors for commands that only take zero or one branches

0.6.2 (2020-10-20)

  • build: fix bodhi update options error
  • merging to latest epel now works (from oldest active fedora branch)
  • status: fixed error on new branch
  • request-repo: thank reviewer by name
  • copr: watch now restarts on a net failure

0.6.1 (2020-10-17)

  • build, parallel: request testing state for bodhi updates
  • bugs: --summary to filter by a phrase
  • reviews: --user to list reviews from another user
  • reviews: --assigned-to to list bugs by reviewer
  • reviews: filter out "Rename Request" and "Re-Review Request" prefixes
  • copr: remove trailing / from project name

Below are pre-release changes from the copr package rpm:

  • accept spec filepaths as package args (#12)
  • native Koji wait-repo (#14)
  • parallel: now requires --sidetag or --target unless development branch
    • offers bodhi update from side-tag
    • lists koji sidetags natively
    • checks not in pkg dir when multiple packages
  • mock: chain multiple package builds
    • Add --no-clean and --no-clean-after
  • new 'log' command for comparing branch logs
  • new 'override' command
  • new 'sidetags' command lists user's sidetags per branch
  • Bugzilla: fix body comments not getting posted with PUT (#13)
  • status: --no-fetch option
  • bump: only if not latest in koji
  • merge: assert still in branch after prompt input
  • Git short log: use reference format
  • copr: detect non-existent project
  • Bodhi overrides now display url
  • new 'bump' command to bump package release
  • 'parallel': new --side-tag option to use user's current branch side-tag
  • 'build': print nvr and git push as late as possible only if nvr new
  • 'bugs' command can now take multiple packages
  • wait-repo first without nvr to avoid "nvr not latest" warning
  • remove single "- " prefix from changelog for commit
  • fix merge prompt text
  • copr: error if no chroots
  • build,parallel: improve review post/autoupdate and override logic
  • reviews: add --branched filter, --short, and --all-status
  • scratch: experimental --dry-run and output message before srpm upload
  • scratch: add --exclude-arch
  • commit: improve checking for changelog
  • build: --no-update option
  • fetching and switch output pkgdir name
  • fix Bugzilla utf8 encoding corruption (when posting reviews, etc)
  • new 'command' for running an arbitrary shell command across packages
  • diff: --spec-only and --with-branch (use origin if branch not local)
  • improve branch error message if package paths/dir wrong
  • fix error when detecting autoupdate for master
  • major change: branches are now args preceding package args
  • new 'nvr' command
  • 'build' doesn't override for Bodhi create_automatic_updates branches
  • 'switch'ing to a new branch should work now without explicit pulling
  • disallow Fedora branch newer than latest branched release
  • 'commit' without -m will try to use rpm changelog
  • 'commit' also works in a pkg dir now
  • 'create-review' and 'request-branches' can now handle multiple packages
  • check active branches after option parsing (#10)
  • reviews --approved now limits to NEW, ASSIGNED and POST
  • status -B now displays new branches
  • latest fedora-dists lib uses ~/.fedora/product-versions-2.json
  • rebuild with correct updated cabal.project git deps
  • local commands now work for non-release branches (eg module branches)
  • scratch: build by default for branch target
  • Koji: check taskstate even if koji watch-task appears to succeed (#9)
  • parallel: parallel branch building in a package dir (#6)
  • diff: don't git fetch every time
  • Koji: abort waiting (do not loop) if task canceled
  • fedora-dists: avoid caching PDC error instead of product list
  • status: recognize epel testing tags
  • Package: warn rather than error if spec filename differs from pkg/dir
  • build: don't push Bodhi update for create_automatic_updates releases
  • be more careful with creating and comparing NVRs
    • fixing handling for bootstrap bcond (#5)
  • parallel: also experimental --dryrun
  • fix handling of failed bugzilla login
  • uses http-query for fedora web api libs and bugzilla responses
  • strip executable
  • add 'install-deps' (builddep) command
  • experimental --exclude-branch option
  • local/prep: revert back from using "." for rpmbuild macros dir options
  • install: don't build if existing rpm files newer than spec and add --rebuild and --short-circuit options
  • use absolute paths for sudo and dnf everywhere
  • add 'copr' build command (ported from juhp/cobrnch)
  • improve mock results dir paths like fedpkg
  • support .git file repos also for prepping and building
  • fix srpm generation when _sourcedir is user undefined
  • local: print uninstalled deps
  • sort: --with/--without options (rpmbuild-order-0.4.2) (#5)
  • support absorbed git submodules (#8)
  • build: experimental --dry-run option
  • build: Bodhi --update-type option (#7)
  • build now does git fetch and merge of origin
  • clone: output package names to show progress
  • wait-repo's now show datestamp
  • build: maybe override and waitrepo when build already complete
  • sort/parallel: update to rpmbuild-order-0.4.1 which also shows any subcycles
  • parallel: only override when no target or not stable
  • parallel: fixed to switch to branch
  • update to rpmbuild-0.4.0 release with bugfixes: (Provide Name and parse package name dirs with a dot)
  • parallel: do override for built package if not tagged (#3)
    • reported by QuLogic
  • fix pull command and check for clean working dir
  • latest rpmbuild-order fixes a recent regression
  • be more lenient when package is in a old branch
  • generate a basic manpage with help2man
  • further simply the option/arg parsing for better error messages
  • build/merge/status by default now only act on the current branch and require a branch option when more than one package
  • use -B or --all-branches to act on all branches like before
  • read Koji for correct buildtag for wait-repo
  • ignore sources file when not dist-git
  • bash completions
  • mock: add --root option (takes a branch)
  • build/parallel: check no existing koji task which is not yet building
  • parallel: rpmbuild-order now preserves dir paths to packages
  • scratch: allow multiple --arch options
  • 'build' now does wait-repo between packages
  • 'build' always checks sources file up to date
  • 'build' can now rejoin started builds
  • new 'parallel' build command for building packages in dependency layers
  • new 'diff' command for checking changes across many packages
  • new 'commit' command for committing changes across many packages
  • prep now prints nvr
  • 'install' handles reinstalls correctly (when only some subpackages installed)
  • ignore remote branches other than origin
  • local --short-circuit
  • interleaved output for prep and local errors
  • build: allow pushing/building before current HEAD
  • scratch: add --rebuild-srpm option (default is --no-rebuild-srpm)
  • status: allow dirty working dir
  • scratch: --arch option and don't get sources too early
  • build: drop --scratch
  • srpm and mock commands
  • 'scratch' build command
  • 'build' options --override and --no-fail-fast
  • create-review/updatereview: now run rpmlint and optionally mock
  • local, install: install deps
  • prep, local, install: pull down sources now
  • add Requires for client tools
  • initial package