Closed
Bug 1648118
Opened 5 years ago
Closed 4 years ago
Consider changing lint and fmt make commands to match the pattern of the other commands
Categories
(Data Platform and Tools :: Glean: SDK, task, P1)
Data Platform and Tools
Glean: SDK
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: brizental, Assigned: chinyingli.alice, Mentored)
Details
Attachments
(1 file)
Most of the commands in our Makefile are following a pattern of <action>-<language>
, for example, the test commands are all test-kotlin
, test-swift
, test-python
, etc.
It is counter intuitive to me that the formatting and linting commands don't follow this pattern. I propose we rename these commands to lint-<language>
and fmt-<language>
.
Reporter | ||
Updated•5 years ago
|
Whiteboard: [telemetry:glean-rs:m?] → [telemetry:glean-rs:backlog]
Updated•4 years ago
|
Priority: P3 → P4
Assignee | ||
Comment 2•4 years ago
|
||
Is this currently a valid issue? I would like to submit a small patch for this.
Comment 4•4 years ago
|
||
Sounds like a good idea.
- Remove the
lint
andfmt
task. - Rename the tasks:
clippy
->lint-rust
rustfmt
->fmt-rust
ktlint
->lint-kotlin
swiftlint
->lint-swift
pythonlint
->lint-python
pythonfmt
->fmt-python
Adjust the .PHONY
setting accordingly. Also please check if any of these tasks is used in .circleci/config.yaml
and adjust accordingly.
Assignee: nobody → chinyingli.alice
Mentor: jrediger
Flags: needinfo?(jrediger)
Priority: P4 → P1
Whiteboard: [telemetry:glean-rs:backlog]
Comment 5•4 years ago
|
||
Updated•4 years ago
|
Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•