public inbox for pbs-devel@lists.proxmox.com
 help / color / mirror / Atom feed
* [pbs-devel] [PATCH proxmox-backup] gitignore: add target/ in sub-directories
@ 2024-01-12 10:11 Stefan Lendl
  2024-01-12 10:23 ` Stefan Hanreich
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Stefan Lendl @ 2024-01-12 10:11 UTC (permalink / raw)
  To: pbs-devel

Signed-off-by: Stefan Lendl <s.lendl@proxmox.com>
---
 .gitignore | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/.gitignore b/.gitignore
index 487a953f..c21203a5 100644
--- a/.gitignore
+++ b/.gitignore
@@ -14,12 +14,13 @@
 /*.deb
 /*.dsc
 /*.tar*
+/*/target/
 /Cargo.lock
 /docs/output
 /etc/proxmox-backup-proxy.service
 /etc/proxmox-backup.service
 /proxmox-backup-server-dpkg-contents.txt
-/target
+/target/
 /www/.lint-incremental
 /www/js/
 __pycache__/
-- 
2.42.0





^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [pbs-devel] [PATCH proxmox-backup] gitignore: add target/ in sub-directories
  2024-01-12 10:11 [pbs-devel] [PATCH proxmox-backup] gitignore: add target/ in sub-directories Stefan Lendl
@ 2024-01-12 10:23 ` Stefan Hanreich
  2024-01-15 14:28 ` [pbs-devel] [RFC proxmox-backup] gitignore: make docs output Stefan Lendl
  2024-03-07 14:25 ` [pbs-devel] [PATCH proxmox-backup] gitignore: add target/ in sub-directories Stefan Lendl
  2 siblings, 0 replies; 4+ messages in thread
From: Stefan Hanreich @ 2024-01-12 10:23 UTC (permalink / raw)
  To: pbs-devel

I think a single line containing `target/` would be sufficient - if I'm
not mistaken. At least that works for me with the following setup:

$ tree
.
├── foo
│   └── bar
│       ├── somefile
│       └── target
│           └── somefile
└── target

5 directories, 2 files


$ cat .gitignore
target/


$ git status
On branch master
Changes to be committed:
  (use "git restore --staged <file>..." to unstage)
        new file:   foo/bar/somefile




^ permalink raw reply	[flat|nested] 4+ messages in thread

* [pbs-devel] [RFC proxmox-backup] gitignore: make docs output
  2024-01-12 10:11 [pbs-devel] [PATCH proxmox-backup] gitignore: add target/ in sub-directories Stefan Lendl
  2024-01-12 10:23 ` Stefan Hanreich
@ 2024-01-15 14:28 ` Stefan Lendl
  2024-03-07 14:25 ` [pbs-devel] [PATCH proxmox-backup] gitignore: add target/ in sub-directories Stefan Lendl
  2 siblings, 0 replies; 4+ messages in thread
From: Stefan Lendl @ 2024-01-15 14:28 UTC (permalink / raw)
  To: pbs-devel

Signed-off-by: Stefan Lendl <s.lendl@proxmox.com>
---

some additions to the previously sent gitignore

 .gitignore | 20 ++++++++++++++++++++
 1 file changed, 20 insertions(+)

diff --git a/.gitignore b/.gitignore
index c21203a5..7675bc22 100644
--- a/.gitignore
+++ b/.gitignore
@@ -15,8 +15,28 @@
 /*.dsc
 /*.tar*
 /*/target/
+/.do-cargo-build
 /Cargo.lock
+/docs/config/acl/roles.rst
+/docs/config/datastore/config.rst
+/docs/config/domains/config.rst
+/docs/config/media-pool/config.rst
+/docs/config/remote/config.rst
+/docs/config/sync/config.rst
+/docs/config/tape-job/config.rst
+/docs/config/tape/config.rst
+/docs/config/user/config.rst
+/docs/config/verification/config.rst
 /docs/output
+/docs/pmt/synopsis.rst
+/docs/pmtx/synopsis.rst
+/docs/proxmox-backup-client/catalog-shell-synopsis.rst
+/docs/proxmox-backup-client/synopsis.rst
+/docs/proxmox-backup-debug/synopsis.rst
+/docs/proxmox-backup-manager/synopsis.rst
+/docs/proxmox-file-restore/synopsis.rst
+/docs/proxmox-tape/synopsis.rst
+/docs/pxar/synopsis.rst
 /etc/proxmox-backup-proxy.service
 /etc/proxmox-backup.service
 /proxmox-backup-server-dpkg-contents.txt
-- 
2.42.0





^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [pbs-devel] [PATCH proxmox-backup] gitignore: add target/ in sub-directories
  2024-01-12 10:11 [pbs-devel] [PATCH proxmox-backup] gitignore: add target/ in sub-directories Stefan Lendl
  2024-01-12 10:23 ` Stefan Hanreich
  2024-01-15 14:28 ` [pbs-devel] [RFC proxmox-backup] gitignore: make docs output Stefan Lendl
@ 2024-03-07 14:25 ` Stefan Lendl
  2 siblings, 0 replies; 4+ messages in thread
From: Stefan Lendl @ 2024-03-07 14:25 UTC (permalink / raw)
  To: pbs-devel


sent v2




^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2024-03-07 14:25 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-01-12 10:11 [pbs-devel] [PATCH proxmox-backup] gitignore: add target/ in sub-directories Stefan Lendl
2024-01-12 10:23 ` Stefan Hanreich
2024-01-15 14:28 ` [pbs-devel] [RFC proxmox-backup] gitignore: make docs output Stefan Lendl
2024-03-07 14:25 ` [pbs-devel] [PATCH proxmox-backup] gitignore: add target/ in sub-directories Stefan Lendl

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Service provided by Proxmox Server Solutions GmbH | Privacy | Legal