Package: virtualenv
Version: 20.14.0+ds-1
Severity: wishlist
Dear Maintainer,
'virtualenv' creates a .gitignore file that just excludes everything from git.
this is practical, if you do something like this:
```
virtualenv myenv
```
as this will just exclude everything in the myenv/ folder from git
(which is what you usually want).
now, for convenience, i find myself using the following quite often:
```
virtualenv .
```
this will (unfortunately) create a .gitignore file in my current directory
that will ignore everything (including the sources i'm currently working on)
i think, that in the special case of creating a virtualenv in the current
directory, no .gitignore file should be created (or it should be tightened to
just ignore the files managed by virtualenv, which afaict are
- /bin/
- /lib/
- /pyenv.cfg
)
luckily, virtualenv won't overwrite any existing .gitignore file (so not all is
lost).
cheers,
IOhannes m zmölnig
-- System Information:
Debian Release: bookworm/sid
APT prefers unstable-debug
APT policy: (500, 'unstable-debug'), (500, 'oldstable-updates'), (500,
'unstable'), (500, 'testing'), (500, 'oldstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 5.17.0-1-amd64 (SMP w/4 CPU threads; PREEMPT)
Kernel taint flags: TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=C.UTF-8, LC_CTYPE=C.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
Versions of packages virtualenv depends on:
ii python3-virtualenv 20.14.0+ds-1
virtualenv recommends no packages.
virtualenv suggests no packages.
-- no debconf information