RESOLVED FIXED 228113
Add .gitignore file for CISupport
https://bugs.webkit.org/show_bug.cgi?id=228113
Summary Add .gitignore file for CISupport
Aakash Jain
Reported 2021-07-20 11:22:32 PDT
Add .gitignore file for CISupport, especially for various buildbot related services we host from that directory.
Attachments
[fast-cq] Patch (867 bytes, patch)
2021-07-20 11:23 PDT, Aakash Jain
no flags
Aakash Jain
Comment 1 2021-07-20 11:23:47 PDT
Created attachment 433884 [details] [fast-cq] Patch
Alexey Proskuryakov
Comment 2 2021-07-20 11:54:49 PDT
Is it possible to NOT have these files in a checkout? This seems like papering over the issue.
Aakash Jain
Comment 3 2021-07-20 11:59:54 PDT
These log files are generated on the server hosting the applications (not on individual user's machines). They pollute the 'git status' command on those servers. Those log files are part of the intended functionality (e.g.: twistd.log for buildbot)
Alexey Proskuryakov
Comment 4 2021-07-20 12:04:51 PDT
I understand, it's just unclear to me why they have to be here even on the server. It seems like it can only add trouble because of potentially conflicting access restrictions, and/or be bad for security to mix source code and runtime data.
Jonathan Bedard
Comment 5 2021-07-27 07:12:23 PDT
(In reply to Alexey Proskuryakov from comment #4) > I understand, it's just unclear to me why they have to be here even on the > server. It seems like it can only add trouble because of potentially > conflicting access restrictions, and/or be bad for security to mix source > code and runtime data. If this is the concern, I think we need to change how we have buildbot services running. Given that the current instructions for running our buildbot instances (both locally and on the production servers) has them running out of Tools/CISupport/<host>, this is the right change. Even if we change where we're running our production servers, this is still applicable for local instances, and our other services (even those cloud hosted) tend to run "in place"
Radar WebKit Bug Importer
Comment 6 2021-07-27 11:23:24 PDT
EWS
Comment 7 2021-07-27 16:59:10 PDT
Committed r280362 (240009@main): <https://commits.webkit.org/240009@main> All reviewed patches have been landed. Closing bug and clearing flags on attachment 433884 [details].
Alexey Proskuryakov
Comment 8 2021-07-27 17:39:53 PDT
> If this is the concern, I think we need to change how we have buildbot > services running. Given that the current instructions for running our > buildbot instances (both locally and on the production servers) has them > running out of Tools/CISupport/<host>, this is the right change. Even if we > change where we're running our production servers, this is still applicable > for local instances, and our other services (even those cloud hosted) tend > to run "in place" I don't think that you understood my comment. Running from a checkout is completely orthogonal to having write access to the checkout and messing it up! Neither local nor cloud nor any other deployments have to write to write to the directory where the code is in. This is like saying that Apache logs must be in /usr/sbin, because that's where the httpd binary is.
Jonathan Bedard
Comment 9 2021-07-28 08:07:18 PDT
(In reply to Alexey Proskuryakov from comment #8) > > If this is the concern, I think we need to change how we have buildbot > > services running. Given that the current instructions for running our > > buildbot instances (both locally and on the production servers) has them > > running out of Tools/CISupport/<host>, this is the right change. Even if we > > change where we're running our production servers, this is still applicable > > for local instances, and our other services (even those cloud hosted) tend > > to run "in place" > > I don't think that you understood my comment. > > Running from a checkout is completely orthogonal to having write access to > the checkout and messing it up! Neither local nor cloud nor any other > deployments have to write to write to the directory where the code is in. > > This is like saying that Apache logs must be in /usr/sbin, because that's > where the httpd binary is. Ah, I see the point. Seems like we would want a "log" directory inside the checkout, in that case. Sort of like what we do for autoinstall and WebKitBuild?
Alexey Proskuryakov
Comment 10 2021-07-28 09:55:02 PDT
I'd say somewhere in /var/log, not inside the checkout? Perhaps I'm missing something too.
Note You need to log in before you can comment on or make changes to this bug.