- 
                Notifications
    
You must be signed in to change notification settings  - Fork 2.8k
 
Makefile: Drop unused CONTAINER_RUNTIME #27418
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Makefile: Drop unused CONTAINER_RUNTIME #27418
Conversation
| 
           Also xref bootc-dev/bootc#1719  | 
    
| 
           Seems to have been there since the beginning, to avoid the D-word and the swear jar: 9250747  | 
    
| 
           hello @cgwalters mind rebasing and seeing you can pickup a recent merge from @Honny1 which should fix the wild card registry failures?  | 
    
| 
           LGTM  | 
    
| 
           [APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: cgwalters, mheon The full list of commands accepted by this bot can be found here. The pull request process is described here 
Needs approval from an approver in each of these files:
 
      
 Approvers can indicate their approval by writing   | 
    
This variable is dead code as far as I can tell. I think it got cargo culted from something similar in skopeo, where it *is* used: https://github.com/containers/skopeo/blob/85598438ce295fc9acdc27a1d5f97b7501f411a5/Makefile#L75 etc. (Instead it looks like there's a `PODMANCMD` here) But I'm effectively using this PR as a way to suggest aligning with what we're doing in bootc, where we have a core principle that `Makefile` should *never* itself spawn containers (or VMs etc). All the rules in Makefile are things that should work when e.g. building RPMs or debs or the like. Those tasks are things that are done via `Justfile`: https://github.com/bootc-dev/bootc/blob/main/Justfile So for example to align, we'd add a `Justfile` here and then `make validatepr` would move to `just validatepr`. Signed-off-by: Colin Walters <[email protected]>
5975c29    to
    ac888c7      
    Compare
  
    
          
 Sure done though this utterly trivial PR was more a vehicle to discuss synchronizing the development pattern more and I'm interested in comments on that  | 
    
| 
           I really like some of our containerized tasks that run from the Makefile.   | 
    
| 
           Of course, we 100% share the goal that it should be easy to contribute and easy to reproduce CI locally. The first step here that would not break anything would be to add a  But new things that have side effects outside the build tree (per the principle) would go in Justfile, not Makefile for example.  | 
    
| 
           /lgtm  | 
    
          
 I have no interest in that personally. Adding two different "build" systems just seems way more confusing an requires unnecessary dependencies for devs who then need both and then also need to remember which target is in which file and duplicating them seems just a waste of effort.  | 
    
This variable is dead code as far as I can tell. I think it got cargo culted from something similar in skopeo, where it is used:
https://github.com/containers/skopeo/blob/85598438ce295fc9acdc27a1d5f97b7501f411a5/Makefile#L75 etc.
(Instead it looks like there's a
PODMANCMDhere)But I'm effectively using this PR as a way to suggest aligning with what we're doing in bootc, where we have a core principle that
Makefileshould never itself spawn containers (or VMs etc). All the rules in Makefile are things that should work when e.g. building RPMs or debs or the like.Those tasks are things that are done via
Justfile: https://github.com/bootc-dev/bootc/blob/main/JustfileSo for example to align, we'd add a
Justfilehere and thenmake validateprwould move tojust validatepr.