NiklasRosenstein / flux-ci

Flux is your own private & lightweight CI server.
MIT License
26 stars 10 forks source link

Allow upload & edit override files per repository #31

Open NiklasRosenstein opened 7 years ago

NiklasRosenstein commented 7 years ago

This script would be stored in the database instead of the repository, of course.

NiklasRosenstein commented 6 years ago

Thanks to @gsantner we can just store the build script in the "overrides" directory (see #41), as well as additional files. A small file editor to upload & edit override files per repository would be nice. As a starter, just being able to edit the build script (or CI file when it is available, see #24) would be enough.

NiklasRosenstein commented 6 years ago

@tvrzna I will not close this issue yet as it describes a superset of your changes. :)

tvrzna commented 6 years ago

It will be a lot of work :)

tvrzna commented 6 years ago

There is still a lot of work ahead, but this is little sneak peek. File/Folder operations are unhandled, Upload/Download still missing and whole branch will be rebased after it is finished, but... :) https://github.com/NiklasRosenstein/flux-ci/compare/master...tvrzna:issue/31-overrides-ui

Repo detail repo_detail

Overrides first visit view overrides_list

Overrides Create new folder overrides_new_folder

Overrides Create new file overrides_new_file

Overrides File editor overrides_file_editor

Overrides Folder list overrides_folder_list

NiklasRosenstein commented 6 years ago

Dude, you're a machine. 👏 Looks great!

gsantner commented 6 years ago

Edit: would change to "Edit project" and maybe "fa-clone" icon gives some kind overlay/override association

tvrzna commented 6 years ago

@gsantner ok, I'll change it when I will continue.