* [gentoo-commits] proj/pkgcore/pkgdev:main commit in: src/pkgdev/
@ 2022-10-14 20:02 Arthur Zamarin
0 siblings, 0 replies; 10+ messages in thread
From: Arthur Zamarin @ 2022-10-14 20:02 UTC (permalink / raw
To: gentoo-commits
commit: a1d59d9abf89e1b302f4f133c4f463c8ce52741f
Author: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
AuthorDate: Fri Oct 14 20:02:27 2022 +0000
Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Fri Oct 14 20:02:27 2022 +0000
URL: https://gitweb.gentoo.org/proj/pkgcore/pkgdev.git/commit/?id=a1d59d9a
start work on 0.2.4
Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>
src/pkgdev/__init__.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/pkgdev/__init__.py b/src/pkgdev/__init__.py
index 9f3e50d..9f90c65 100644
--- a/src/pkgdev/__init__.py
+++ b/src/pkgdev/__init__.py
@@ -1,2 +1,2 @@
__title__ = 'pkgdev'
-__version__ = '0.2.3'
+__version__ = '0.2.4'
^ permalink raw reply related [flat|nested] 10+ messages in thread
* [gentoo-commits] proj/pkgcore/pkgdev:main commit in: src/pkgdev/
@ 2022-12-02 10:39 Arthur Zamarin
0 siblings, 0 replies; 10+ messages in thread
From: Arthur Zamarin @ 2022-12-02 10:39 UTC (permalink / raw
To: gentoo-commits
commit: b08761ba269e8274e7d4e637a06e1b022ad5fa8e
Author: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
AuthorDate: Fri Dec 2 10:39:28 2022 +0000
Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Fri Dec 2 10:39:28 2022 +0000
URL: https://gitweb.gentoo.org/proj/pkgcore/pkgdev.git/commit/?id=b08761ba
start work on 0.2.5
Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>
src/pkgdev/__init__.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/pkgdev/__init__.py b/src/pkgdev/__init__.py
index 9f90c65..13f3f56 100644
--- a/src/pkgdev/__init__.py
+++ b/src/pkgdev/__init__.py
@@ -1,2 +1,2 @@
__title__ = 'pkgdev'
-__version__ = '0.2.4'
+__version__ = '0.2.5'
^ permalink raw reply related [flat|nested] 10+ messages in thread
* [gentoo-commits] proj/pkgcore/pkgdev:main commit in: src/pkgdev/
@ 2023-01-13 21:07 Arthur Zamarin
0 siblings, 0 replies; 10+ messages in thread
From: Arthur Zamarin @ 2023-01-13 21:07 UTC (permalink / raw
To: gentoo-commits
commit: 408514657d8c17ae4d70871ebb46495acdb625b8
Author: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
AuthorDate: Fri Jan 13 21:06:54 2023 +0000
Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Fri Jan 13 21:06:54 2023 +0000
URL: https://gitweb.gentoo.org/proj/pkgcore/pkgdev.git/commit/?id=40851465
add __main__.py file
I'm adding this file, so you can call pkgdev using `python -m pkgdev`.
Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>
src/pkgdev/__main__.py | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/src/pkgdev/__main__.py b/src/pkgdev/__main__.py
new file mode 100644
index 0000000..dfafa04
--- /dev/null
+++ b/src/pkgdev/__main__.py
@@ -0,0 +1,4 @@
+from .scripts import run
+
+if __name__ == '__main__':
+ run('pkgdev')
^ permalink raw reply related [flat|nested] 10+ messages in thread
* [gentoo-commits] proj/pkgcore/pkgdev:main commit in: src/pkgdev/
@ 2023-03-17 6:11 Arthur Zamarin
0 siblings, 0 replies; 10+ messages in thread
From: Arthur Zamarin @ 2023-03-17 6:11 UTC (permalink / raw
To: gentoo-commits
commit: 110bb9eb4c5b7031b14dead8364ff7b15d0e3863
Author: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
AuthorDate: Fri Mar 17 06:10:57 2023 +0000
Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Fri Mar 17 06:10:57 2023 +0000
URL: https://gitweb.gentoo.org/proj/pkgcore/pkgdev.git/commit/?id=110bb9eb
start work on 0.2.6
Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>
src/pkgdev/__init__.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/pkgdev/__init__.py b/src/pkgdev/__init__.py
index dcf122c..de0ff6a 100644
--- a/src/pkgdev/__init__.py
+++ b/src/pkgdev/__init__.py
@@ -1,2 +1,2 @@
__title__ = "pkgdev"
-__version__ = "0.2.5"
+__version__ = "0.2.6"
^ permalink raw reply related [flat|nested] 10+ messages in thread
* [gentoo-commits] proj/pkgcore/pkgdev:main commit in: src/pkgdev/
@ 2023-04-21 8:03 Arthur Zamarin
0 siblings, 0 replies; 10+ messages in thread
From: Arthur Zamarin @ 2023-04-21 8:03 UTC (permalink / raw
To: gentoo-commits
commit: a339f3b4891e8e79b1c4b7145431de23b2b78d02
Author: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
AuthorDate: Fri Apr 21 08:02:23 2023 +0000
Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Fri Apr 21 08:02:23 2023 +0000
URL: https://gitweb.gentoo.org/proj/pkgcore/pkgdev.git/commit/?id=a339f3b4
git: declare PKGDEV=1 env for git commands
Can be used in git hooks to verify if we are running inside a pkgdev
call.
Resolves: https://github.com/pkgcore/pkgdev/issues/133
Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>
src/pkgdev/git.py | 10 ++++++----
1 file changed, 6 insertions(+), 4 deletions(-)
diff --git a/src/pkgdev/git.py b/src/pkgdev/git.py
index cc96716..55e1fae 100644
--- a/src/pkgdev/git.py
+++ b/src/pkgdev/git.py
@@ -1,3 +1,4 @@
+import os
import subprocess
import sys
@@ -12,6 +13,7 @@ def run(*args, **kwargs):
"""Wrapper for running git via subprocess.run()."""
kwargs.setdefault("check", True)
kwargs.setdefault("text", True)
+ kwargs.setdefault("env", os.environ.copy())["PKGDEV"] = "1"
cmd = ["git"] + list(args)
# output git command that would be run to stderr
@@ -21,7 +23,7 @@ def run(*args, **kwargs):
try:
return subprocess.run(cmd, **kwargs)
- except FileNotFoundError as e:
- raise UserException(str(e))
- except subprocess.CalledProcessError as e:
- raise GitError(e.returncode)
+ except FileNotFoundError as exc:
+ raise UserException(str(exc))
+ except subprocess.CalledProcessError as exc:
+ raise GitError(exc.returncode)
^ permalink raw reply related [flat|nested] 10+ messages in thread
* [gentoo-commits] proj/pkgcore/pkgdev:main commit in: src/pkgdev/
@ 2023-04-22 17:56 Arthur Zamarin
0 siblings, 0 replies; 10+ messages in thread
From: Arthur Zamarin @ 2023-04-22 17:56 UTC (permalink / raw
To: gentoo-commits
commit: 2ba5b33b2f23af6f2c67857f3bd4c7cff7cd74e5
Author: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
AuthorDate: Sat Apr 22 17:56:29 2023 +0000
Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Sat Apr 22 17:56:29 2023 +0000
URL: https://gitweb.gentoo.org/proj/pkgcore/pkgdev.git/commit/?id=2ba5b33b
start work on 0.2.8
Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>
src/pkgdev/__init__.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/pkgdev/__init__.py b/src/pkgdev/__init__.py
index 8e22150..78012ff 100644
--- a/src/pkgdev/__init__.py
+++ b/src/pkgdev/__init__.py
@@ -1,2 +1,2 @@
__title__ = "pkgdev"
-__version__ = "0.2.7"
+__version__ = "0.2.8"
^ permalink raw reply related [flat|nested] 10+ messages in thread
* [gentoo-commits] proj/pkgcore/pkgdev:main commit in: src/pkgdev/
@ 2023-12-07 20:31 Arthur Zamarin
0 siblings, 0 replies; 10+ messages in thread
From: Arthur Zamarin @ 2023-12-07 20:31 UTC (permalink / raw
To: gentoo-commits
commit: 02919e1a1d555630a286d9adc9230fcc229645a6
Author: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
AuthorDate: Thu Dec 7 20:31:49 2023 +0000
Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Thu Dec 7 20:31:49 2023 +0000
URL: https://gitweb.gentoo.org/proj/pkgcore/pkgdev.git/commit/?id=02919e1a
start work on 0.2.9
Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>
src/pkgdev/__init__.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/pkgdev/__init__.py b/src/pkgdev/__init__.py
index 78012ff..326a099 100644
--- a/src/pkgdev/__init__.py
+++ b/src/pkgdev/__init__.py
@@ -1,2 +1,2 @@
__title__ = "pkgdev"
-__version__ = "0.2.8"
+__version__ = "0.2.9"
^ permalink raw reply related [flat|nested] 10+ messages in thread
* [gentoo-commits] proj/pkgcore/pkgdev:main commit in: src/pkgdev/
@ 2024-02-10 15:00 Arthur Zamarin
0 siblings, 0 replies; 10+ messages in thread
From: Arthur Zamarin @ 2024-02-10 15:00 UTC (permalink / raw
To: gentoo-commits
commit: 12029d20544f48b12956eef71925912f8693b332
Author: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
AuthorDate: Sat Feb 10 15:00:22 2024 +0000
Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Sat Feb 10 15:00:22 2024 +0000
URL: https://gitweb.gentoo.org/proj/pkgcore/pkgdev.git/commit/?id=12029d20
start work on 0.2.10
Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>
src/pkgdev/__init__.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/pkgdev/__init__.py b/src/pkgdev/__init__.py
index 326a099..35f1fd2 100644
--- a/src/pkgdev/__init__.py
+++ b/src/pkgdev/__init__.py
@@ -1,2 +1,2 @@
__title__ = "pkgdev"
-__version__ = "0.2.9"
+__version__ = "0.2.10"
^ permalink raw reply related [flat|nested] 10+ messages in thread
* [gentoo-commits] proj/pkgcore/pkgdev:main commit in: src/pkgdev/
@ 2024-03-21 20:08 Arthur Zamarin
0 siblings, 0 replies; 10+ messages in thread
From: Arthur Zamarin @ 2024-03-21 20:08 UTC (permalink / raw
To: gentoo-commits
commit: 95300aa8b2974c39882822a6b56f8c9c5c4a5f0d
Author: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
AuthorDate: Thu Mar 21 20:08:14 2024 +0000
Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Thu Mar 21 20:08:14 2024 +0000
URL: https://gitweb.gentoo.org/proj/pkgcore/pkgdev.git/commit/?id=95300aa8
start work on 0.2.11
Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>
src/pkgdev/__init__.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/pkgdev/__init__.py b/src/pkgdev/__init__.py
index 35f1fd2..86689e6 100644
--- a/src/pkgdev/__init__.py
+++ b/src/pkgdev/__init__.py
@@ -1,2 +1,2 @@
__title__ = "pkgdev"
-__version__ = "0.2.10"
+__version__ = "0.2.11"
^ permalink raw reply related [flat|nested] 10+ messages in thread
* [gentoo-commits] proj/pkgcore/pkgdev:main commit in: src/pkgdev/
@ 2025-03-05 6:40 Arthur Zamarin
0 siblings, 0 replies; 10+ messages in thread
From: Arthur Zamarin @ 2025-03-05 6:40 UTC (permalink / raw
To: gentoo-commits
commit: cc1f1c6f55679c48f3e67f24a26c58a8ea8ee60d
Author: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
AuthorDate: Wed Mar 5 06:39:51 2025 +0000
Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Wed Mar 5 06:40:03 2025 +0000
URL: https://gitweb.gentoo.org/proj/pkgcore/pkgdev.git/commit/?id=cc1f1c6f
start work on 0.2.12
Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>
src/pkgdev/__init__.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/pkgdev/__init__.py b/src/pkgdev/__init__.py
index 86689e6..4788065 100644
--- a/src/pkgdev/__init__.py
+++ b/src/pkgdev/__init__.py
@@ -1,2 +1,2 @@
__title__ = "pkgdev"
-__version__ = "0.2.11"
+__version__ = "0.2.12"
^ permalink raw reply related [flat|nested] 10+ messages in thread
end of thread, other threads:[~2025-03-05 6:40 UTC | newest]
Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-03-05 6:40 [gentoo-commits] proj/pkgcore/pkgdev:main commit in: src/pkgdev/ Arthur Zamarin
-- strict thread matches above, loose matches on Subject: below --
2024-03-21 20:08 Arthur Zamarin
2024-02-10 15:00 Arthur Zamarin
2023-12-07 20:31 Arthur Zamarin
2023-04-22 17:56 Arthur Zamarin
2023-04-21 8:03 Arthur Zamarin
2023-03-17 6:11 Arthur Zamarin
2023-01-13 21:07 Arthur Zamarin
2022-12-02 10:39 Arthur Zamarin
2022-10-14 20:02 Arthur Zamarin
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox