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!

Routing logs with Splunk OTel Collector for Kubernetes

The Splunk Distribution of the OpenTelemetry (OTel) Collector is a product that provides a way to ingest ...

Welcome to the Splunk Community!

(view in My Videos) We're so glad you're here! The Splunk Community is place to connect, learn, give back, and ...

Tech Talk | Elevating Digital Service Excellence: The Synergy of Splunk RUM & APM

Elevating Digital Service Excellence: The Synergy of Real User Monitoring and Application Performance ...