Splunk Dev

Splunk Packaging Toolkit: Why isn't the standard .git structure included in the default ignore file?

AHBrook
Path Finder

Hey everyone!

I've spent a good few hours here learning the basics of creating custom packages to load into our Splunk Cloud instance. In the process, I've started playing around with Splunk AppInspect and Splunk Packaging Toolkit.

Thing is, these were bombing hard for me due to trying to build out of my git working directory. Every file in .git basically triggered the validator's fail state.

Eventually I found an answer in creating a .slimignore file. The only reference I could find to this file was here: https://dev.splunk.com/enterprise/reference/packagingtoolkit/packagingtoolkitcli#slim-package

The manual for slim also mentioned that this should be in the root of the app's development folder.

So this leads me to a fairly basic question: Why isn't the standard .git structure included in the default ignore file? It seems this would make overall development easier..

(Also interesting that it says /local is ignored, but the actual ignore file in the library only lists Python, Jetbrain, OSX, and Windows Thumbnail files to ignore...)

Labels (1)
Tags (2)
0 Karma
1 Solution

sloshburch
Splunk Employee
Splunk Employee

Hi - It kinda sounds like you might have a feature request idea here. If so, then I totally recommend tossing it to https://ideas.splunk.com/ so it can get prioritized by votes!

View solution in original post

0 Karma

sloshburch
Splunk Employee
Splunk Employee

Hi - It kinda sounds like you might have a feature request idea here. If so, then I totally recommend tossing it to https://ideas.splunk.com/ so it can get prioritized by votes!

0 Karma

AHBrook
Path Finder

Gah! I always forget that's an option. That's on me. 🙂 Yeah. I think a feature request is in order. I'll link it here once I make it.

Get Updates on the Splunk Community!

Webinar Recap | Revolutionizing IT Operations: The Transformative Power of AI and ML ...

The Transformative Power of AI and ML in Enhancing Observability   In the realm of IT operations, the ...

.conf24 | Registration Open!

Hello, hello! I come bearing good news: Registration for .conf24 is now open!   conf is Splunk’s rad annual ...

ICYMI - Check out the latest releases of Splunk Edge Processor

Splunk is pleased to announce the latest enhancements to Splunk Edge Processor.  HEC Receiver authorization ...