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!

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...

Introducing the 2024 Splunk MVPs!

We are excited to announce the 2024 cohort of the Splunk MVP program. Splunk MVPs are passionate members of ...

Splunk Custom Visualizations App End of Life

The Splunk Custom Visualizations apps End of Life for SimpleXML will reach end of support on Dec 21, 2024, ...