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!

Stay Connected: Your Guide to May Tech Talks, Office Hours, and Webinars!

Take a look below to explore our upcoming Community Office Hours, Tech Talks, and Webinars this month. This ...

They're back! Join the SplunkTrust and MVP at .conf24

With our highly anticipated annual conference, .conf, comes the fez-wearers you can trust! The SplunkTrust, as ...

Enterprise Security Content Update (ESCU) | New Releases

Last month, the Splunk Threat Research Team had two releases of new security content via the Enterprise ...