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!

Index This | I am a number, but when you add ‘G’ to me, I go away. What number am I?

March 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with another ...

What’s New in Splunk App for PCI Compliance 5.3.1?

The Splunk App for PCI Compliance allows customers to extend the power of their existing Splunk solution with ...

Extending Observability Content to Splunk Cloud

Register to join us !   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to ...