* [PATCH] tuna: Add common virtual envs gitignores
@ 2025-08-13 20:08 John B. Wyatt IV
2025-09-18 18:06 ` John Kacur
0 siblings, 1 reply; 3+ messages in thread
From: John B. Wyatt IV @ 2025-08-13 20:08 UTC (permalink / raw)
To: Clark Williams, John Kacur
Cc: John B. Wyatt IV, linux-rt-users, kernel-rts-sst,
John B. Wyatt IV
Virtual environments are a common method to develop in the Python world.
The virtual environment directories are ignored.
Copied partially from https://github.com/github/gitignore/blob/main/Python.gitignore
License of copied text: CC0-1.0 (Public Domain declaration)
https://github.com/github/gitignore/blob/main/LICENSE
Signed-off-by: John B. Wyatt IV <jwyatt@redhat.com>
Signed-off-by: John B. Wyatt IV <sageofredondo@gmail.com>
---
.gitignore | 10 ++++++++++
1 file changed, 10 insertions(+)
diff --git a/.gitignore b/.gitignore
index 29b00a0..1fa5bbd 100644
--- a/.gitignore
+++ b/.gitignore
@@ -2,3 +2,13 @@
*~
*.swp
tags
+
+# Environments
+.env
+.envrc
+.venv
+env/
+venv/
+ENV/
+env.bak/
+venv.bak/
--
2.50.1
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH] tuna: Add common virtual envs gitignores
2025-08-13 20:08 [PATCH] tuna: Add common virtual envs gitignores John B. Wyatt IV
@ 2025-09-18 18:06 ` John Kacur
2025-09-22 15:50 ` John B. Wyatt IV
0 siblings, 1 reply; 3+ messages in thread
From: John Kacur @ 2025-09-18 18:06 UTC (permalink / raw)
To: John B. Wyatt IV
Cc: Clark Williams, linux-rt-users, kernel-rts-sst, John B. Wyatt IV
On Wed, 13 Aug 2025, John B. Wyatt IV wrote:
> Virtual environments are a common method to develop in the Python world.
> The virtual environment directories are ignored.
>
> Copied partially from https://github.com/github/gitignore/blob/main/Python.gitignore
>
> License of copied text: CC0-1.0 (Public Domain declaration)
> https://github.com/github/gitignore/blob/main/LICENSE
>
> Signed-off-by: John B. Wyatt IV <jwyatt@redhat.com>
> Signed-off-by: John B. Wyatt IV <sageofredondo@gmail.com>
> ---
> .gitignore | 10 ++++++++++
> 1 file changed, 10 insertions(+)
>
> diff --git a/.gitignore b/.gitignore
> index 29b00a0..1fa5bbd 100644
> --- a/.gitignore
> +++ b/.gitignore
> @@ -2,3 +2,13 @@
> *~
> *.swp
> tags
> +
> +# Environments
> +.env
> +.envrc
> +.venv
> +env/
> +venv/
> +ENV/
> +env.bak/
> +venv.bak/
> --
> 2.50.1
>
>
>
I ran in a python virtual environment and only got an env directory which
I deleted at the end. Are you actually using this, or is this just
theorectically something we might want to add?
Granted, I didn't do anything complicated with this
I also understand you are trying to do your due dilligence by referencing
where you copied this from, but then pulling in another license to do so.
This is going to cause me headaches for something kind of trivial.
I'd rather not have a lot of patches creating churn in something like
.gitignore, if we start using this a lot and it becomes more convenient to
add somethings here, then fine, but then figure it out yourself, and don't
copy from somewhere else. I think we'll just ignore this for now please.
John
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] tuna: Add common virtual envs gitignores
2025-09-18 18:06 ` John Kacur
@ 2025-09-22 15:50 ` John B. Wyatt IV
0 siblings, 0 replies; 3+ messages in thread
From: John B. Wyatt IV @ 2025-09-22 15:50 UTC (permalink / raw)
To: John Kacur
Cc: Clark Williams, linux-rt-users, kernel-rts-sst, John B. Wyatt IV
On Thu, Sep 18, 2025 at 02:06:06PM -0400, John Kacur wrote:
> I ran in a python virtual environment and only got an env directory which
> I deleted at the end. Are you actually using this
Yes. I was using a virtual environment to resolve issues with my
text editor's linter with GTK. I may need to do other things and
I want this support in there.
> or is this just
> theorectically something we might want to add?
Virtual environments are very common in Python projects. I would encourage
this project to support them. They have a variety of uses including
testing since you can pull in packages and easily use a different Python
version.
> I also understand you are trying to do your due dilligence by referencing
> where you copied this from, but then pulling in another license to do so.
> This is going to cause me headaches for something kind of trivial.
I understand this can pose some challenges, but, it is a snippet from a file
that has a Creative Commons public domain declaration from a well known
company. I suspect there are no license or copyright issues. I wanted to
include that linkage to provide a source for a code snippet, but we can
investigate removing the link and attribution. Being in the public
domain; I believe it should have no attribution requirements. Let me know if
any copyright or license issues arise.
--
Sincerely,
John Wyatt
Software Engineer, Core Kernel
Red Hat
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2025-09-22 15:50 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-08-13 20:08 [PATCH] tuna: Add common virtual envs gitignores John B. Wyatt IV
2025-09-18 18:06 ` John Kacur
2025-09-22 15:50 ` John B. Wyatt IV
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).