Skip to content

feat: release v0.9.11#99

Merged
nic-6443 merged 2 commits intomasterfrom
nic/release-v0.9.11
Apr 23, 2026
Merged

feat: release v0.9.11#99
nic-6443 merged 2 commits intomasterfrom
nic/release-v0.9.11

Conversation

@jarvis9443
Copy link
Copy Markdown
Contributor

@jarvis9443 jarvis9443 commented Apr 23, 2026

Signed-off-by: Jarvis jarvis@api7.ai

Summary by CodeRabbit

  • Chores
    • Published jsonschema v0.9.11-0 on LuaRocks with package metadata and Apache 2.0 license.
    • Declares runtime dependencies (network URL handling and regex support) and exposes library modules for use by consumers.
    • Includes descriptive metadata noting supported JSON Schema drafts.

Signed-off-by: Jarvis <jarvis@api7.ai>
Copilot AI review requested due to automatic review settings April 23, 2026 05:51
@coderabbitai
Copy link
Copy Markdown

coderabbitai Bot commented Apr 23, 2026

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: 6288efed-abbd-43e2-bd43-b1e28f0665e6

📥 Commits

Reviewing files that changed from the base of the PR and between a9ce93f and ffc4702.

📒 Files selected for processing (1)
  • rockspec/jsonschema-0.9.11-0.rockspec
✅ Files skipped from review due to trivial changes (1)
  • rockspec/jsonschema-0.9.11-0.rockspec

📝 Walkthrough

Walkthrough

This PR adds a new LuaRocks rockspec jsonschema-0.9.11-0.rockspec that declares the package source (git tag v0.9.11), metadata (summary, description, homepage, Apache-2.0), runtime dependencies, and two Lua module exports (jsonschema, jsonschema.store).

Changes

Cohort / File(s) Summary
LuaRocks Rockspec
rockspec/jsonschema-0.9.11-0.rockspec
New rockspec file adding package metadata, git-based source (tag v0.9.11), build/builtin configuration, exported modules jsonschema and jsonschema.store, and runtime dependencies (including pinned lrexlib-pcre).

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~3 minutes

Possibly related PRs

  • feat: release v0.9.10 #97 — Adds a LuaRocks rockspec for the previous release (v0.9.10); structure and declarations closely match this version bump.

Suggested reviewers

  • nic-6443
🚥 Pre-merge checks | ✅ 5 | ❌ 1

❌ Failed checks (1 inconclusive)

Check name Status Explanation Resolution
E2e Test Quality Review ❓ Inconclusive The PR adds only a rockspec configuration file for package release, not executable test code. E2E test files exist but were created separately and not modified in this PR. Clarify whether this check applies to release/packaging PRs without test modifications, or review existing test files separately.
✅ Passed checks (5 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title 'feat: release v0.9.11' directly and clearly summarizes the main change—creating a rockspec for releasing jsonschema version 0.9.11.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
Security Check ✅ Passed The rockspec file contains no security vulnerabilities across all seven security check categories with secure HTTPS, standard dependencies, and no sensitive data.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch nic/release-v0.9.11

Comment @coderabbitai help to get the list of available commands and usage tips.

Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR adds the LuaRocks rockspec for releasing jsonschema version 0.9.11 so the new tag can be packaged and installed via LuaRocks.

Changes:

  • Added rockspec/jsonschema-0.9.11-0.rockspec pointing to tag v0.9.11
  • Declared LuaRocks dependencies (net-url, lrexlib-pcre) and module mappings for the build

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread rockspec/jsonschema-0.9.11-0.rockspec Outdated
Comment thread rockspec/jsonschema-0.9.11-0.rockspec Outdated
Copy link
Copy Markdown

@coderabbitai coderabbitai Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 1

🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.

Inline comments:
In `@rockspec/jsonschema-0.9.11-0.rockspec`:
- Around line 3-6: The source table's url currently uses the insecure git://
protocol; update the url field in the source block (the "source" table and its
"url" key) to use an HTTPS-based URL for GitHub (e.g., change
"git://github.com/api7/jsonschema.git" to a secure
"git+https://github.com/api7/jsonschema.git") while keeping the existing "tag"
value intact so installs fetch via HTTPS.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: 9f49de28-17c8-4264-bfc5-c0e4c4600938

📥 Commits

Reviewing files that changed from the base of the PR and between 96f5d6f and a9ce93f.

📒 Files selected for processing (1)
  • rockspec/jsonschema-0.9.11-0.rockspec

Comment on lines +3 to +6
source = {
url = "git://github.com/api7/jsonschema.git",
tag = "v0.9.11",
}
Copy link
Copy Markdown

@coderabbitai coderabbitai Bot Apr 23, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Potential issue | 🔴 Critical

🧩 Analysis chain

🏁 Script executed:

#!/bin/bash
set -euo pipefail

# Verify whether git protocol works for this repo/tag vs HTTPS transport.
# Expected: git:// often fails; HTTPS should resolve the tag.
git ls-remote git://github.com/api7/jsonschema.git refs/tags/v0.9.11 || true
git ls-remote https://github.com/api7/jsonschema.git refs/tags/v0.9.11

Repository: api7/jsonschema

Length of output: 145


🏁 Script executed:

# Check if there's any public information about this rockspec or repository
fd -i "jsonschema" -t f | head -20
cat rockspec/jsonschema-0.9.11-0.rockspec 2>/dev/null || echo "File not found"

Repository: api7/jsonschema

Length of output: 1504


🌐 Web query:

LuaRocks git protocol support HTTPS github

💡 Result:

Yes, LuaRocks supports the Git protocol over HTTPS for GitHub repositories. In rockspecs, use the git+https:// protocol prefix in the source.url field. For GitHub repos, examples: - url = "git+https://github.com/user/repo.git" - Optionally specify tag or branch: tag = "v1.0" or branch = "main" LuaRocks requires Git installed. For HTTPS, it uses LuaSocket + LuaSec, curl, or wget (autodetects). Legacy git://github.com/... URLs still work via internal handling for backward compatibility (since LuaRocks 3.8.0), but git+https:// is recommended for security and explicitness. Source: Official rockspec format docs explicitly list git+https:// as supported. GitHub issue discussions confirm usage and requirements.

Citations:


Use HTTPS for source fetch; git:// can break installs.

Line 4 uses git://, which is unreliable for GitHub-hosted sources. LuaRocks recommends git+https:// for stability and security. Switch to an HTTPS-based source URL.

Suggested fix
 source = {
-  url = "git://github.com/api7/jsonschema.git",
+  url = "git+https://github.com/api7/jsonschema.git",
   tag = "v0.9.11",
 }
🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In `@rockspec/jsonschema-0.9.11-0.rockspec` around lines 3 - 6, The source table's
url currently uses the insecure git:// protocol; update the url field in the
source block (the "source" table and its "url" key) to use an HTTPS-based URL
for GitHub (e.g., change "git://github.com/api7/jsonschema.git" to a secure
"git+https://github.com/api7/jsonschema.git") while keeping the existing "tag"
value intact so installs fetch via HTTPS.

✅ Addressed in commit ffc4702

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Copilot AI review requested due to automatic review settings April 23, 2026 06:07
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 1 out of 1 changed files in this pull request and generated no new comments.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@nic-6443 nic-6443 merged commit cf8fbad into master Apr 23, 2026
7 checks passed
@nic-6443 nic-6443 deleted the nic/release-v0.9.11 branch April 23, 2026 06:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants