~eschwartz

~eschwartz/foo-test

Last active 10 months ago
View more

Recent activity

[PATCH] implement install_data() which is currently marked as a TODO 29 days ago

From Eli Schwartz to ~lattis/muon

---
 src/functions/default.c | 56 ++++++++++++++++++++++++++++++++++++++++-
 1 file changed, 55 insertions(+), 1 deletion(-)

diff --git a/src/functions/default.c b/src/functions/default.c
index 35f3529..0c0de65 100644
--- a/src/functions/default.c
+++ b/src/functions/default.c
@@ -1087,6 +1087,60 @@ func_install_todo(struct workspace *wk, obj _, uint32_t args_node, obj *res)
	return true;
}

static bool
func_install_data(struct workspace *wk, obj _, uint32_t args_node, obj *res)
[message trimmed]

[PATCH 2/3] use better test directory that is scoped to the tests themselves a month ago

From Eli Schwartz to ~lattis/muon

---
 tests/project/meson.build | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/tests/project/meson.build b/tests/project/meson.build
index 22776ef..3f7886d 100644
--- a/tests/project/meson.build
+++ b/tests/project/meson.build
@@ -237,8 +237,7 @@ tests = [
	'common/243 escape++',
]

# this could probably be a better location
test_dir = meson.global_build_root() /  'test-tmp'
[message trimmed]

[PATCH 3/3] bump minimum version of meson.build language API a month ago

From Eli Schwartz to ~lattis/muon

meson.py implements compatibility checks for this, and logs the
following warning when building muon:

WARNING: Project specifies a minimum meson_version '>=0.48.0' but uses features which were added in newer versions:
 * 0.49.0: {'/ with string arguments'}
 * 0.50.0: {'File argument for extract_objects'}
 * 0.53.0: {'summary'}
---
 meson.build | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meson.build b/meson.build
index b8aadff..3aff244 100644
--- a/meson.build
[message trimmed]

[PATCH 1/3] implement string to_lower() a month ago

From Eli Schwartz to ~lattis/muon

---
 src/functions/string.c | 22 ++++++++++++++++++++++
 1 file changed, 22 insertions(+)

diff --git a/src/functions/string.c b/src/functions/string.c
index 1ff4305..5fb5f4e 100644
--- a/src/functions/string.c
+++ b/src/functions/string.c
@@ -81,6 +81,27 @@ func_to_upper(struct workspace *wk, uint32_t rcvr, uint32_t args_node, obj *res)
	return true;
}

static bool
func_to_lower(struct workspace *wk, uint32_t rcvr, uint32_t args_node, obj *res)
[message trimmed]

Re: Implement semantic versioning for easier packaging a month ago

From Eli Schwartz to ~lattis/muon

On 10/30/21 8:16 AM, Daniel Pérez wrote:
> Hello, I recently developed an interest on porting this project to
> the FreeBSD tree, however the repository does not have any stable
> releases I can use to download tarballs from. I suggest if possible
> creating an stable release following semantic versioning, to ease
> porting efforts where cloning the latest commit is not viable.


As a matter of curiosity, what do you want to use it for? I would be
hesitant to call muon stable, since among various other TODO topics is
adding an installation functionality.

That's something fairly central to the goal of reimplementing and
providing an alternative to the reference meson.

[PATCH builds.sr.ht] Revert "images/archlinux: skip compression for makepkg" a month ago

From Eli Schwartz to ~sircmpwn/sr.ht-dev

This reverts commit 73b24a385c95ef2df0d18bff1545980e9fc6f35c.

This affects packages which are built and uploaded in a builds.sr.ht
job, not just packages which are built as a side effect of installing
AUR packages in the job setup.

In commit e6d7370899cfc125ff7db7c61a31c52fa9049b0a the compression for
installing AUR packages in the job setup, was already disabled, using
the same method as this commit performed but scoped only to `yay -Syu`.

To quote the commit message:

"This patch has no effect on any makepkg run by the user in its build
script after the install() step ends."
[message trimmed]

[PATCH] implement compiler.version() a month ago

From Eli Schwartz to ~lattis/muon

---
 src/functions/compiler.c | 12 ++++++++++++
 1 file changed, 12 insertions(+)

diff --git a/src/functions/compiler.c b/src/functions/compiler.c
index 49d9849..cbf3613 100644
--- a/src/functions/compiler.c
+++ b/src/functions/compiler.c
@@ -357,6 +357,17 @@ func_compiler_cmd_array(struct workspace *wk, obj rcvr, uint32_t args_node, obj
	return true;
}

static bool
func_compiler_version(struct workspace *wk, obj rcvr, uint32_t args_node, obj *res)
[message trimmed]

[PATCH 2/2] implement meson.project_*_root() a month ago

From Eli Schwartz to ~lattis/muon

project_source_root() is easy as this information is already stored in
the project struct.

project_build_root() requires adding a new attribute when first
initializing the subproject.
---
 include/lang/workspace.h |  2 +-
 src/functions/meson.c    | 24 ++++++++++++++++++++++++
 src/lang/workspace.c     |  1 +
 3 files changed, 26 insertions(+), 1 deletion(-)

diff --git a/include/lang/workspace.h b/include/lang/workspace.h
index d1fb4e7..8c50d24 100644
--- a/include/lang/workspace.h
[message trimmed]

[PATCH 1/2] fix usage message after subcommand got folded inside another subcommand a month ago

From Eli Schwartz to ~lattis/muon

---
 src/main.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/main.c b/src/main.c
index a864884..fa2f5d0 100644
--- a/src/main.c
+++ b/src/main.c
@@ -484,7 +484,7 @@ cmd_main(uint32_t argc, uint32_t argi, char *const argv[])
	static const struct command commands[] = {
		{ "auto", cmd_auto, "build the project with default options" },
		{ "check", cmd_check, "check if a meson file parses" },
		{ "subprojects", cmd_subprojects, "check if a meson wrap is valid" },
		{ "subprojects", cmd_subprojects, "manage subprojects" },
[message trimmed]

[PATCH git.sr.ht 2/2] archive .asc endpoint: handle junk data 2 months ago

From Eli Schwartz to ~sircmpwn/sr.ht-dev

---
 gitsrht/blueprints/repo.py | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/gitsrht/blueprints/repo.py b/gitsrht/blueprints/repo.py
index e6aade5..61db55f 100644
--- a/gitsrht/blueprints/repo.py
+++ b/gitsrht/blueprints/repo.py
@@ -193,7 +193,10 @@ def lookup_ref(git_repo, ref, path):
    return commit, ref, "/".join(path)

def lookup_signature(git_repo, ref, fmt=['tar', 'tar.gz']):
    commit_or_tag = git_repo.revparse_single(ref)
    try:
[message trimmed]