Skip to content

Add alpha API documentation - #2

Merged
danmcp merged 1 commit into
openshift:masterfrom
csrwng:merge_ooapiv3
Aug 12, 2014
Merged

danmcp merged 1 commit into
openshift:masterfrom
csrwng:merge_ooapiv3

Conversation

@csrwng

@csrwng csrwng commented Aug 12, 2014

Copy link
Copy Markdown
Contributor

Merge of csrwng/oo-api-v3

@mfojtik

mfojtik commented Aug 12, 2014

Copy link
Copy Markdown
Contributor

LGTM

danmcp added a commit that referenced this pull request Aug 12, 2014
Add alpha API documentation
@danmcp
danmcp merged commit 226414d into openshift:master Aug 12, 2014
ironcladlou referenced this pull request in ironcladlou/origin Sep 25, 2014
Add DeployConfig generator and endpoint
markturansky referenced this pull request in markturansky/origin Jan 27, 2015
fixed compilation error for InstallREST
jsafrane referenced this pull request in jsafrane/origin Oct 12, 2015
@csrwng csrwng mentioned this pull request Oct 13, 2015
@ironcladlou ironcladlou mentioned this pull request Dec 2, 2015
6 tasks done
@jupierce jupierce mentioned this pull request Jun 28, 2016
openshift-bot pushed a commit that referenced this pull request Jul 5, 2016
Sync mode for running independently of PaaS to register nodes
sttts referenced this pull request in sttts/origin Dec 8, 2016
jpeeler pushed a commit to jpeeler/origin that referenced this pull request Sep 13, 2017
Building images from RPM takes quite a bit of time, so add service catalog to
the local image build list. A prerequisite for this task is to have the service
catalog binaries compiled, which is done with openshift#1:

1) cmd/service-catalog/go/src/github.com/kubernetes-incubator/service-catalog/hack/build-go.sh
2) hack/build-local-images service-catalog

The first script uses the origin tooling to build in the same way as the RPMs
are built. Note that a new "enable_default" key has been added to the
image_config and set to False for service catalog so that it is not built unless
directly specified (as indicated in openshift#2).
jpeeler pushed a commit to jpeeler/origin that referenced this pull request Sep 14, 2017
Building images from RPM takes quite a bit of time, so add service catalog to
the local image build list. A prerequisite for this task is to have the service
catalog binaries compiled, which is done with openshift#1:

1) cmd/service-catalog/go/src/github.com/kubernetes-incubator/service-catalog/hack/build-go.sh
2) hack/build-local-images service-catalog

The first script uses the origin tooling to build in the same way as the RPMs
are built. Note that a new "enable_default" key has been added to the
image_config and set to False for service catalog so that it is not built unless
directly specified (as indicated in openshift#2).
jpeeler pushed a commit to jpeeler/origin that referenced this pull request Sep 14, 2017
Building images from RPM takes quite a bit of time, so add service catalog to
the local image build list. A prerequisite for this task is to have the service
catalog binaries compiled, which is done with openshift#1:

1) cmd/service-catalog/go/src/github.com/kubernetes-incubator/service-catalog/hack/build-go.sh
2) hack/build-local-images service-catalog

The first script uses the origin tooling to build in the same way as the RPMs
are built. Note that a new "enable_default" key has been added to the
image_config and set to False for service catalog so that it is not built unless
directly specified (as indicated in openshift#2).
jpeeler pushed a commit to jpeeler/origin that referenced this pull request Feb 1, 2018
Add OWNERS file and contributing instructions
jpeeler pushed a commit to jpeeler/origin that referenced this pull request Feb 1, 2018
openshift-merge-robot added a commit that referenced this pull request Feb 7, 2018
Automatic merge from submit-queue.

CLI: add support for deployments in oc status

@smarterclayton this is a long overdue...

current state:
```
$ oc status
In project My Project (myproject) on server https://127.0.0.1:8443

svc/ruby-deploy - 172.30.174.234:8080
  deployment/ruby-deploy deploys istag/ruby-deploy:latest <-
    bc/ruby-deploy source builds https://github.com/openshift/ruby-ex.git on istag/ruby-22-centos7:latest
      build #1 failed 5 hours ago - bbb6701: Merge pull request #18 from durandom/master (Ben Parees <[email protected]>)
    deployment #2 running for 4 hours - 0/1 pods (warning: 53 restarts)
    deployment #1 deployed 5 hours ago
```

TODO:

- [x] Add rollouts similar to deployment configs
- [x] Fix unit tests / Add unit tests
- [x] Deal with HPA
openshift-merge-robot added a commit that referenced this pull request Aug 13, 2019
@xiuwang xiuwang mentioned this pull request Jul 23, 2021
openshift-merge-bot Bot pushed a commit that referenced this pull request Apr 29, 2025
Fix verifyBuildPod function to pass all failing tests and ensure the git-clone container does not run privileged
amiskin94 added a commit to amiskin94/origin that referenced this pull request Sep 22, 2026
Critical fixes:
1. Copy non-.gz files to temp before chmod (Issue openshift#1 - MAJOR)
   - Previous code modified source file permissions
   - Now ALL files (both .gz and non-.gz) copied to temp
   - chmod only on temp copy, source preserved

2. Capture both Close() and Remove() errors (Issue openshift#3)
   - When Close() fails AND Remove() fails, report both
   - Clear error messages for debugging

3. Add copyFile() helper function
   - Copies file to temp with proper error handling
   - Named return for Close() error capture
   - Consistent with decompressGzipToFile pattern

Issue openshift#2 (TOCTOU race): Not addressed
- Acceptable risk: we're copying files, not modifying
- File changes between Stat and copy will fail safely
- No corruption risk since copy is read-only

All local binaries now have consistent handling:
- Both .gz and non-.gz copied to managed temp files
- Source files never modified
- All temp files tracked for cleanup
- All error paths handle cleanup properly

Addresses CodeRabbit review from 2026-09-22 07:26 AM.

Co-Authored-By: Claude Sonnet 4.5 <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants