Phase 1 project revival + PR fixes (#207, #209, #213)

Project infrastructure:
- Replace MIT license with AGPL-3.0 (KSA Technologies, LLC)
- Full README rewrite with badges, compatibility table, token auth docs
- Add CHANGELOG, CONTRIBUTING, DONORS, SECURITY docs
- Add GitHub issue/PR templates, update FUNDING.yml and stale.yml
- Replace external packer repo dispatch with self-contained CI (build.yml)
- Add packaging/DEBIAN/ with postinst/postrm/triggers (no git clone at install)
- Add .perlcriticrc for static analysis
- Add .claude/cos/ ADRs, plans, and runbooks

Bug fixes from community PRs:
- Fix bearer token check in freenas_api_connect: defined() && value instead of
  defined() alone, so truenas_token_auth=0 no longer activates Bearer Token auth (#207)
- Fix LUN 0 falsy bug in ZFSPlugin patch: !$guid -> !defined $guid in both
  zfs_get_lun_number and zfs_get_wwid_number, fixing VMs on LUN 0 for PVE 9 (#209)
- Fix syslog typo "wtih" -> "with" in run_list_extent (#213)

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
Kevin Adams
2026-05-15 14:22:04 -04:00
co-authored by Claude Sonnet 4.6
parent ebc461a519
commit 636cd06ff6
31 changed files with 2450 additions and 226 deletions
+59
View File
@@ -0,0 +1,59 @@
---
name: Bug Report
about: Report a problem with the plugin
title: "[BUG] "
labels: bug
assignees: TheGrandWazoo
---
## Environment
| Component | Version |
|-----------|---------|
| Plugin (`dpkg -l freenas-proxmox`) | |
| Proxmox VE (`pveversion`) | |
| TrueNAS type | CORE / SCALE |
| TrueNAS version | |
| Authentication method | Token / Password |
## Description
A clear description of what the bug is.
## Steps to Reproduce
1.
2.
3.
## Expected Behavior
What you expected to happen.
## Actual Behavior
What actually happened.
## Relevant Log Output
Run the following on your Proxmox node and paste the output:
```bash
grep -i freenas /var/log/syslog | tail -50
```
```
(paste log output here)
```
## Storage Configuration
Paste your storage config entry from `/etc/pve/storage.cfg` — **redact any passwords or API tokens**:
```
(paste config here, credentials redacted)
```
## Additional Context
Any other information that might help: network topology, multipath, multiple Proxmox nodes, etc.
+35
View File
@@ -0,0 +1,35 @@
---
name: Feature Request
about: Suggest an improvement or new capability
title: "[FEATURE] "
labels: enhancement
assignees: TheGrandWazoo
---
## Summary
A brief, clear description of the feature you'd like.
## Problem It Solves
What use case does this address? What problem does it solve for you?
## Proposed Solution
How do you envision this working? Any specific API endpoints, UI changes, or behaviors in mind?
## Alternatives Considered
Any workarounds you've tried, or alternative approaches you've considered.
## Environment
| Component | Version |
|-----------|---------|
| Proxmox VE | |
| TrueNAS type | CORE / SCALE |
| TrueNAS version | |
## Additional Context
Screenshots, links to TrueNAS API docs, or any other information.