RedHatOfficial / creative

Open Studio Community: Open Source & Creativity Advocacy Committee
11 stars 3 forks source link

Script to automate downloading and pushing RH icons to github #11

Open mairin opened 3 years ago

mairin commented 3 years ago

General model:

notklaatu commented 3 years ago

Working on this now. I have a question @mairin

Will this git tree ever be "dirty"? In other words, do you ever work in the repo yourself? I don't want to accidentally add EVERYTHING in the repo if you have works-in-progress in there that you don't want auto-added/committed/pushed.

I'm trying to determine whether I need to take extra precautions to ensure that ONLY the new items are added and pushed, or whether we can just let Git figure it out.

notklaatu commented 3 years ago

The answer was that no, the state of the Git repo on the local machine will never be dirty.

notklaatu commented 3 years ago

Complete. https://github.com/notklaatu/getzipgit

Now we need to create a Git repo to push to.

Note to self: in gitexclude file, list __MACOSX because there are a bunch in the icon set.

notklaatu commented 3 years ago

Created http://github.com/RedHatOfficial/iconset

Sent RPM to Mairín for testing.

I'm closing this issue; any further issue with getzipgit should be filed against that tool and not this repo.

mairin commented 3 years ago

This is amazing, thanks @notklaatu! Giving it a test run now.

notklaatu commented 2 years ago

Reopening. Bash for webDAV seems unreliable, re-implementing in Python or something else.