Add -p/--push option to the apply command to push the cherry-pick branch to GitLab and create a merge request. Uses the python-gitlab library. Options: -p, --push Push branch and create GitLab MR -r, --remote Git remote for push (default: ci) -t, --target Target branch for MR (default: master) Requires GITLAB_TOKEN environment variable to be set. Also record cherry-pick history in .pickman-history file on successful apply. Each entry includes the date, source branch, commits, and the agent's conversation log. This file is committed automatically and included in the MR description when using -p. Name the module gitlab_api.py to avoid shadowing the python-gitlab library. Co-developed-by: Claude Opus 4.5 <noreply@anthropic.com> Signed-off-by: Simon Glass <simon.glass@canonical.com>
140 lines
1.6 KiB
Plaintext
140 lines
1.6 KiB
Plaintext
#
|
|
# NOTE! Don't add files that are generated in specific
|
|
# subdirectories here. Add them in the ".gitignore" file
|
|
# in that subdirectory instead.
|
|
#
|
|
# Normal rules (sorted alphabetically)
|
|
#
|
|
.*
|
|
!.claude
|
|
!.checkpatch.conf
|
|
!.pickman-history
|
|
*.a
|
|
*.asn1.[ch]
|
|
*.bin
|
|
*.bin[_.]*
|
|
*.cfgout
|
|
*.cover
|
|
*.dtb
|
|
*.dtbo
|
|
*.dtb.S
|
|
*.elf
|
|
*.exe
|
|
*.fit
|
|
*.gcda
|
|
*.gcno
|
|
*.i
|
|
*.img
|
|
*.itb
|
|
*.lex.c
|
|
*.lst
|
|
*.map
|
|
*.mod.c
|
|
*.mbx
|
|
*.o
|
|
*.o.*
|
|
*.order
|
|
*.patch
|
|
*.pem
|
|
*.s
|
|
*.su
|
|
*.swp
|
|
*.tab.[ch]
|
|
*.ti-*
|
|
# Build tree
|
|
/build*
|
|
|
|
#
|
|
# Top-level generic files
|
|
#
|
|
fit-dtb.blob*
|
|
/MLO*
|
|
/SPL*
|
|
/System.map
|
|
/boards.cfg
|
|
/mkimage-in-simple-bin*
|
|
/simple-bin*
|
|
/u-boot*
|
|
/*.log
|
|
|
|
#
|
|
# git files that we don't want to ignore even it they are dot-files
|
|
#
|
|
!.gitignore
|
|
!.mailmap
|
|
!.get_maintainer.*
|
|
|
|
#
|
|
# Generated files
|
|
#
|
|
/spl/
|
|
/tpl/
|
|
/defconfig
|
|
/generated_defconfig
|
|
/Test*
|
|
/capsule.*.efi-capsule
|
|
/capsule*.map
|
|
/keep-syms-lto.*
|
|
/*imx8mimage*
|
|
/*imx8mcst*
|
|
/drivers/video/u_boot_logo.S
|
|
/test/overlay/test-fdt-overlay.dtbo.S
|
|
/test/overlay/test-fdt-overlay-stacked.dtbo.S
|
|
|
|
#
|
|
# Generated include files
|
|
#
|
|
/include/autoconf.mk*
|
|
/include/config.h
|
|
/include/config/
|
|
/include/generated/
|
|
/include/bmp_logo.h
|
|
/include/bmp_logo_data.h
|
|
|
|
# stgit generated dirs
|
|
patches-*
|
|
.stgit-edit.txt
|
|
|
|
# quilt's files
|
|
patches
|
|
series
|
|
|
|
# gdb files
|
|
.gdb_history
|
|
|
|
# cscope files
|
|
cscope.*
|
|
|
|
# tags files
|
|
/tags
|
|
/ctags
|
|
/etags
|
|
|
|
# gnu global files
|
|
GPATH
|
|
GRTAGS
|
|
GSYMS
|
|
GTAGS
|
|
|
|
*.orig
|
|
*~
|
|
\#*#
|
|
|
|
# Python cache
|
|
__pycache__
|
|
|
|
# Python code coverage output (python3-coverage html)
|
|
/htmlcov/
|
|
|
|
# pylint files
|
|
/pylint.cur
|
|
/pylint.out/
|
|
|
|
# qconfig database
|
|
/qconfig.db
|
|
|
|
# Clang's compilation database file
|
|
/compile_commands.json
|
|
|
|
bootctl.ini
|