code editing workflow

Started by dirtyfreebooter, March 17, 2025, 08:56:49 PM

Previous topic - Next topic
curious as to hear how people are working with opnsense developement.. git clone / git branch / make mount / edit / git commit / git push / create pull request, is great and all. currently doing that on a Proxmox VM and its fairly simple.

but using vim/emacs on the terminal is so-so. vscode via remote SSH to freebsd doesn't really work without linux binary support, which the opnsense repo seems to be missing essential packages
devel/linux-rl9-libsigsegv
emulators/linux_base-rl9

i don't necessarily have to have vscode, but largely gotten use to it at this point. neovim seems like its possible with some effort to get it working on freebsd.

so i'd like to hear what other solutions people are using before i spend too much time in one direction.

thanks

I use Vagrant - need to urgently update my project for 25.1. OPNsense runs in a virtual machine, source tree(s) are on the host system. OPNsense mounts project directory via NFS.

For 24.7 see https://github.com/punktDe/vagrant-opnsense

My current large show stopper is that I need to configure a Debian VM on a powerful hypervisor for nested virtualisation and Vagrant so I can use VScode over SSH to that machine - because my Intel Mac is being replaced by Apple silicon.
Deciso DEC750
People who think they know everything are a great annoyance to those of us who do. (Isaac Asimov)

Quote from: Patrick M. Hausen on March 17, 2025, 09:31:15 PMI use Vagrant - need to urgently update my project for 25.1. OPNsense runs in a virtual machine, source tree(s) are on the host system. OPNsense mounts project directory via NFS.

For 24.7 see https://github.com/punktDe/vagrant-opnsense

My current large show stopper is that I need to configure a Debian VM on a powerful hypervisor for nested virtualisation and Vagrant so I can use VScode over SSH to that machine - because my Intel Mac is being replaced by Apple silicon.

oh yea, that is certainly doable with the proxmox setup i have, just have the code on a linux vm and nfs export and have opnsense nfs mount it. i'll give this a try. seems promising.

thanks!