ipcat icon indicating copy to clipboard operation
ipcat copied to clipboard

Automatic PRs for updating known ranges

Open shawnps opened this issue 7 years ago • 1 comments

I've been updating AWS, Azure, etc. ranges manually for a while now. It would be nice to have some sort of cron that polls for changes and automatically makes a PR when new ranges are added. Then I would get a notification and just merge the PR, rather than checking for changes manually and pushing them up myself.

I have a script that uses the hub tool to automatically gofmt and make a PR to a given repo. Could probably use something similar. The question is where to run it.

shawnps avatar Mar 24 '17 02:03 shawnps

I would recommend you don't.

I would instead suggest:

  • remove the AWS/Azure/Google/etc ranges (the externally sourced ranges) from your main list
  • get the user to run a directory of scripts as often as they need (every 10 hours/days/...)
  • tell the user their system needs to use multiple output files (even if they then effectively do a cat 1 2 3 4 > all)

The value of the ipcat project (for me at least) is the manually maintained bits, not the stuff that is regularly imported from external sources as I can do that already quite well myself.

jimdigriz avatar Apr 08 '17 17:04 jimdigriz