Page MenuHomePhorge

Skip writing symbol cache to non-writable directories
Needs RevisionPublic

Authored by xtex on Feb 11 2025, 03:22.
Tags
None
Referenced Files
F3274646: D25870.1742586370.diff
Thu, Mar 20, 19:46
F3269777: D25870.1742530667.diff
Thu, Mar 20, 04:17
F3268202: D25870.1742518700.diff
Thu, Mar 20, 00:58
F3250909: D25870.1742327492.diff
Mon, Mar 17, 19:51
F3223457: D25870.1741953921.diff
Thu, Mar 13, 12:05
F3223438: D25870.1741951322.diff
Thu, Mar 13, 11:22
F3215300: D25870.1741631977.diff
Sun, Mar 9, 18:39
F3015478: D25870.1740720039.diff
Thu, Feb 27, 05:20
Tokens
"Yellow Medal" token, awarded by valerio.bozzolan.

Details

Reviewers
valerio.bozzolan
Group Reviewers
O1: Blessed Committers
Summary

As the title, this makes it possible to install arcanist to
non-writable paths, for example, when installing arcanist with system
package managers.

Test Plan

Put arcanist to /usr/lib/arcanist (:

Diff Detail

Repository
rARC Arcanist
Branch
fix-cache
Lint
Lint Skipped
Unit
Tests Skipped
Build Status
Buildable 1692
Build 1692: arc lint + arc unit

Event Timeline

xtex requested review of this revision.Feb 11 2025, 03:22

(1. Are you an heroic package manager? <3 nice to know!)

  1. Are you using arc liberate as test plan? Maybe we can mention it. So I think you get this exception:
[2025-02-11 06:39:39] EXCEPTION: (FilesystemException) Requested path '/usr/lib/arcanist/src/__phutil_library_map__.php' is not writable. at [<arcanist>/src/filesystem/Filesystem.php:1288]
  1. In case, probably it's better to package Arcanist only after the command arc liberate was executed successfully with sufficient write permissions. Then, later calls should probably not auto-trigger it - if I remember correctly.

What do you think about? Thaanks :)

( I was running arc lint in phorge.git and got the same error.
Thank u for your recommendation of running arc liberate. Will add that to packaging script :)

valerio.bozzolan requested changes to this revision.EditedFeb 11 2025, 06:53

OK super! <3

Feel free to share your packages in the chat so we can put you in the right contact pages for eternal glory lol

(I flag this change as "more background + more test plan needed" - but feel free to update anytime or share further comments)

This revision now requires changes to proceed.Feb 11 2025, 06:53

https://github.com/AOSC-Dev/aosc-os-abbs/pull/9638

Running arc liberate before installing worked well for me. Thank you again!