Skip to content

Conversation

@GildedRoach
Copy link
Collaborator

No description provided.

@GildedRoach GildedRoach requested a review from Owen-sz January 14, 2026 01:29
@cloudflare-workers-and-pages
Copy link

cloudflare-workers-and-pages bot commented Jan 14, 2026

Deploying devdocs with  Cloudflare Pages  Cloudflare Pages

Latest commit: ec27091
Status: ✅  Deploy successful!
Preview URL: https://b0b2b183.devdocs-next.pages.dev
Branch Preview URL: https://gil-chore-more-macros.devdocs-next.pages.dev

View logs

- Defer to what the desktop file originally contained if you are unsure which to use.

### %desktop_file_install
SHOULD be used to install a .desktop file.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Update the policy/guidelines/wherever the .desktop stuff is to do this/link to this

#### %npm_build
SHOULD be used for building Electron or Tauri apps with NPM. Has a great deal of flags to work around NPM specific limitations.

Available flags:
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Examples for these would be nice too

@GildedRoach GildedRoach marked this pull request as draft January 14, 2026 03:07
@GildedRoach GildedRoach requested a review from Owen-sz January 17, 2026 04:39
See [Development and Shared Libraries](/terra/guidelines#development-and-shared-libraries) section.

Install `.desktop` file to `%_appsdir` for graphical apps. [Guide here](/terra/guidelines#providing-your-own-desktop-file). Prefer upstream provided ones over manually generating one.
Install `.desktop` file to `%_appsdir` for graphical apps. [Guide here](/terra/guidelines#providing-your-own-desktop-file). Prefer upstream provided ones over manually generating one. It is RECOMMENDED to use our [.desktop file macros](/terra/srpm#desktop-file-macros) for installing and editing .desktop files.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Shouldn't this be MUST or SHOULD?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I based it off how other parts like this were worded TBH.

# and other development files (.vapi, .typelib, .gir, etc.).
```
### JavaScript
These are guidelines for packaging projects written in oe which utilize [JavaScript](https://developer.mozilla.org/en-US/docs/Web/JavaScript).
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Written in oe?


<Callout type="info">
"Node modules" in this document refers to JavaScript packages run using a JavaScript runtime (usually Node.js), which are hosted on the [NPM Registry](https://www.npmjs.com).<br />
"JavaScript modules," however, refers to to JavaScript packages run using a JavaScript runtime which are hosted on *either* the NPM Registry or the [JavaScript Registry](https://jsr.io), the latter of which are also called "modern JavaScript packages." This means Node modules are JavaScript modules, but not the other way around.<br />
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Refers to to

SHOULD be used in place of manually creating `-static` subpackages.
**NOTE:** You still need to define a `%package static{:rpmspec}`, and then use this macro below this.
<Callout type="warning">
You still need to define a `%package static`, and then use this macro below this.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
You still need to define a `%package static`, and then use this macro below this.
You still need to define a `%package static`, and then use this macro below that.

SHOULD be used in place of manually creating `-libs` subpackages.
**NOTE:** You still need to define a `%package libs{:rpmspec}`, and then use this macro below this.
<Callout type="warning">
You still need to define a `%package libs`, and then use this macro below this.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
You still need to define a `%package libs`, and then use this macro below this.
You still need to define a `%package libs`, and then use this macro below that.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is referring to the macro displayed directly above it so wouldn't "this" be more correct? (Plus all I did was move the existing text into a callout for formatting reasons.)

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