Hey people! I would like to use Pantsbuild to Oras...
# plugins
f
Hey people! I would like to use Pantsbuild to Oras artifacts. Was thinking about maybe writing a plugin with a custom target to do this, but I am a little bit stumped by how to do this. Currently reading the docs and looking at code for the Helm backend which should be quite similar to what I am trying to do. Any recommendations for more docs (outside of the pants website), or maybe even which backends / existing plugins are simple and good examples for how to write plugins?
Just finding out about the
--no-pantsd
command was a godsend, it was really confusing when fixing stuff in the code did not make the errors go away! 😅
w
There are a couple tutorials on the main site: https://www.pantsbuild.org/docs/create-a-new-goal The website has some resources linked: https://www.pantsbuild.org/docs/media#tutorials I have some stale plugins here: https://github.com/sureshjoshi/pants-plugins Otherwise, your approach is a good one - find a similar type of plugin and dig into the source. Feel free to ask questions along the way!