Skip to content

Commit 4f11258

Browse files
committed
Renaming build_submitted_time fields to submitted_time
Signed-off-by: Jiri Podivin <jpodivin@redhat.com>
1 parent 1218921 commit 4f11258

7 files changed

Lines changed: 12 additions & 12 deletions

File tree

frontend/src/apiDefinitions.ts

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ export interface ProjectPRs {
7272
export interface CoprBuildGroup {
7373
branch_name: string | null;
7474
build_id: number;
75-
build_submitted_time: number;
75+
submitted_time: number;
7676
packit_id: number;
7777
packit_id_per_chroot: {
7878
[key: string]: number;
@@ -111,7 +111,7 @@ export interface CoprBuild {
111111
build_id: string;
112112
build_logs_url: string;
113113
build_start_time: number;
114-
build_submitted_time: number;
114+
submitted_time: number;
115115
built_packages: CoprBuildPackage[] | null;
116116
chroot: string;
117117
commit_sha: string;
@@ -134,7 +134,7 @@ export interface CoprBuild {
134134
export interface KojiBuildGroup {
135135
branch_name: string | null;
136136
build_logs_urls: string;
137-
build_submitted_time: number;
137+
submitted_time: number;
138138
chroot: string;
139139
packit_id: number;
140140
// TODO: @Venefilyn - change interface depending on status of pr_id or branch_item.
@@ -160,7 +160,7 @@ export interface KojiBuild {
160160
build_finished_time: number;
161161
build_logs_urls: [string: string];
162162
build_start_time: number;
163-
build_submitted_time: number;
163+
submitted_time: number;
164164
chroot: string;
165165
commit_sha: string;
166166
issue_id: number | null;
@@ -230,7 +230,7 @@ export interface KojiTagRequest {
230230
// /api/srpm-builds
231231
export interface SRPMBuildGroup {
232232
branch_name: string | null;
233-
build_submitted_time: number;
233+
submitted_time: number;
234234
log_url: string;
235235
// TODO: @Venefilyn - change interface depending on status of pr_id or branch_item.
236236
// They seem to be mutually exclusive so can be sure one is null and other is string
@@ -251,7 +251,7 @@ export interface SRPMBuild {
251251
branch_name: string | null;
252252
build_finished_time: number;
253253
build_start_time: number;
254-
build_submitted_time: number;
254+
submitted_time: number;
255255
copr_build_id: string;
256256
copr_web_url: string;
257257
issue_id: number | null;

frontend/src/components/copr/CoprBuildDetail.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ export const CoprBuildDetail: React.FC<CoprBuildDetailProps> = ({ data }) => {
7777
</DescriptionListTerm>
7878
<DescriptionListDescription>
7979
<ResultProgressStep
80-
submittedTime={data.build_submitted_time}
80+
submittedTime={data.submitted_time}
8181
startTime={data.build_start_time}
8282
finishedTime={data.build_finished_time}
8383
status={getCoprBuildStatus(data.status)}

frontend/src/components/copr/CoprBuildsTable.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ const CoprBuildsTable = () => {
119119
/>
120120
</Td>
121121
<Td dataLabel={columnNames.timeSubmitted}>
122-
<Timestamp stamp={copr_build.build_submitted_time} />
122+
<Timestamp stamp={copr_build.submitted_time} />
123123
</Td>
124124
<Td dataLabel={columnNames.coprBuild}>
125125
<strong>

frontend/src/components/koji/KojiBuild.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,7 @@ export const KojiBuild = () => {
181181
</DescriptionListTerm>
182182
<DescriptionListDescription>
183183
<ResultProgressStep
184-
submittedTime={data.build_submitted_time}
184+
submittedTime={data.submitted_time}
185185
startTime={data.build_start_time}
186186
finishedTime={data.build_finished_time}
187187
status={getKojiBuildStatus(data.status)}

frontend/src/components/koji/KojiBuildsTable.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ export const KojiBuildsTable: React.FC<KojiBuildTableProps> = ({ scratch }) => {
9898
/>
9999
</Td>
100100
<Td dataLabel={columnNames.timeSubmitted}>
101-
<Timestamp stamp={koji_build.build_submitted_time} />
101+
<Timestamp stamp={koji_build.submitted_time} />
102102
</Td>
103103
<Td dataLabel={columnNames.kojiBuildTask}>
104104
<strong>

frontend/src/components/srpm/SRPMBuild.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ export const SRPMBuild = () => {
149149
</DescriptionListTerm>
150150
<DescriptionListDescription>
151151
<ResultProgressStep
152-
submittedTime={data.build_submitted_time}
152+
submittedTime={data.submitted_time}
153153
startTime={data.build_start_time}
154154
finishedTime={data.build_finished_time}
155155
status={getSRPMStatus(data.status)}

frontend/src/components/srpm/SRPMBuildsTable.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ export const SRPMBuildsTable = () => {
9393
/>
9494
</Td>
9595
<Td dataLabel={columnNames.timeSubmitted}>
96-
<Timestamp stamp={srpm_build.build_submitted_time} />
96+
<Timestamp stamp={srpm_build.submitted_time} />
9797
</Td>
9898
</Tr>
9999
))}

0 commit comments

Comments
 (0)