Page MenuHomePhorge
Feed All Stories

Jun 18 2021

tobiaswiese added a watcher for Mail (deprecated): tobiaswiese.
Jun 18 2021, 19:36
tobiaswiese added a watcher for Harbormaster (archived): tobiaswiese.
Jun 18 2021, 19:36
chris added a comment to D25004: Update .gitignore to account for package-lock.json.

It _shouldn't_ mess up anything existing, I don't think. It's been a few months since I did a ton with JS so might be forgetting something obvious here, but if anyone already has Aphlict up and running, I'm pretty sure their existing install will be unimpacted by the presence/absense of package-lock.json. If they want to manually update their npm packages, then they might need the additional steps, but pretty sure it won't be disruptive outside of that.

Jun 18 2021, 19:30 · Aphlict
speck added a comment to D25004: Update .gitignore to account for package-lock.json.

I was thinking about having it version controlled and I do think that would be a good idea at some point. If we do that now I think that might mess up installations which happen to be running different versions of ws, or the upgrade path would require some additional steps. I think it would be something like

  1. Run npm uninstall
  2. Delete package-lock.json
  3. Upgrade
  4. Run npm ci which should follow the package-lock.json definitions
Jun 18 2021, 19:27 · Aphlict
speck added a project to D25004: Update .gitignore to account for package-lock.json: Aphlict.
Jun 18 2021, 19:21 · Aphlict
chris added a comment to D25004: Update .gitignore to account for package-lock.json.

Do we actually want to be version controlling this? That's the recommended approach for Node projects, and given how hilariously awful dependency management is with npm, it might simplify support if we say "Aphlict runs with this specific version of websockets and its dependencies".

Jun 18 2021, 19:14 · Aphlict
Ekubischta accepted D25004: Update .gitignore to account for package-lock.json.

Refs the discussion here T15011#386 and Aphlict

Jun 18 2021, 19:14 · Aphlict
Ekubischta created Aphlict.
Jun 18 2021, 19:13
speck updated the diff for D25004: Update .gitignore to account for package-lock.json.

Update comment

Jun 18 2021, 19:12 · Aphlict
speck added a comment to T15011: Build a Phorge Developer Environment.

Ah I wasn't aware of that option. I created D25004: Update .gitignore to account for package-lock.json if we want to update the .gitignore

Jun 18 2021, 19:11 · Extension Development
speck requested review of D25004: Update .gitignore to account for package-lock.json.
Jun 18 2021, 19:08 · Aphlict
speck accepted D25003: Arcanist Update .arcconfig to point to we.phorge.it.
Jun 18 2021, 19:08
Ekubischta added a comment to T15011: Build a Phorge Developer Environment.
In T15011#390, @speck wrote:

The documentation for installing Aphlict instructs you to npm install ws in the support/aphlict/server/ folder but it looks since that documentation was written newer versions of node/npm will write out package-lock.json which the repository is not setup to ignore. We'll need to add that file to the .gitignore file I think.

Jun 18 2021, 19:05 · Extension Development
speck added a comment to D25003: Arcanist Update .arcconfig to point to we.phorge.it.

backaway.gif (240×320 px, 364 KB)

Jun 18 2021, 19:02
Ekubischta added a comment to D25003: Arcanist Update .arcconfig to point to we.phorge.it.
In D25003#88, @speck wrote:

This and D25001: T15006: Update .arcconfig to point to we.phorge.it are duplicates. I tried to land it this morning but ran into issues with the land process that I didn't have time to work out

Jun 18 2021, 19:01
speck committed rP7157dd96b34a: T15006: Update .arcconfig to point to we.phorge.it.
T15006: Update .arcconfig to point to we.phorge.it
Jun 18 2021, 18:51
speck closed D25001: T15006: Update .arcconfig to point to we.phorge.it.
Jun 18 2021, 18:51
speck added a comment to T15011: Build a Phorge Developer Environment.

A few things @willson556

  • Untracked file in phorge source support/aphlict/server/package-lock.json
Jun 18 2021, 18:51 · Extension Development
speck added a comment to D25003: Arcanist Update .arcconfig to point to we.phorge.it.

This and D25001: T15006: Update .arcconfig to point to we.phorge.it are duplicates. I tried to land it this morning but ran into issues with the land process that I didn't have time to work out

Jun 18 2021, 18:48
tobiaswiese accepted D25003: Arcanist Update .arcconfig to point to we.phorge.it.
Jun 18 2021, 18:18
Ekubischta added a revision to T15006: Re-brand Phorge: D25003: Arcanist Update .arcconfig to point to we.phorge.it.
Jun 18 2021, 18:01 · Phorge
Ekubischta updated the summary of D25003: Arcanist Update .arcconfig to point to we.phorge.it.
Jun 18 2021, 18:01
Ekubischta updated the summary of D25003: Arcanist Update .arcconfig to point to we.phorge.it.
Jun 18 2021, 18:01
Ekubischta added reviewers for D25003: Arcanist Update .arcconfig to point to we.phorge.it: speck, avivey, tobiaswiese.
Jun 18 2021, 18:00
Ekubischta requested review of D25003: Arcanist Update .arcconfig to point to we.phorge.it.
Jun 18 2021, 17:59
Matthew created an object: Starmap.
Jun 18 2021, 17:15
Matthew created an object: Roadmap.
Jun 18 2021, 17:15
Ekubischta added a comment to T15011: Build a Phorge Developer Environment.

A few things @willson556

Jun 18 2021, 16:58 · Extension Development
Matthew updated the task description for T15000: Ad hoc setup tasks.
Jun 18 2021, 16:46 · Phorge.it Systems
Matthew triaged T15012: Update Diviner documentation to reference Phorge as Normal priority.
Jun 18 2021, 16:38 · Phorge
Ekubischta added a comment to T15011: Build a Phorge Developer Environment.

I actually started on a VSCode Devcontainer based solution on my GitHub: https://github.com/willson556/phorge-devcontainer

It is working pretty well with notifications and repository hosting both configured out of the box. My only concern with the config at the moment is that it's very much setup for development -- we would want to clearly document that it is not to be used as a starting point for a production docker-compose setup!

Any feedback would be appreciated!

Jun 18 2021, 16:27 · Extension Development
Matthew added a project to T15011: Build a Phorge Developer Environment: Phorge General/Unknown.
Jun 18 2021, 16:22 · Extension Development
tobiaswiese accepted D25001: T15006: Update .arcconfig to point to we.phorge.it.
Jun 18 2021, 16:22
willson556 added a comment to T15011: Build a Phorge Developer Environment.

I actually started on a VSCode Devcontainer based solution on my GitHub: https://github.com/willson556/phorge-devcontainer

Jun 18 2021, 15:53 · Extension Development
Ekubischta added a comment to T15011: Build a Phorge Developer Environment.
In T15011#363, @speck wrote:

We should consider a Vagrantfile in place of docker containers. I think it will be more approachable to newcomers having a single VM with all the services/configurations setup compared to managing multiple containers.

Separately, developing on Windows has its own complications

Jun 18 2021, 15:49 · Extension Development
chris added a comment to T15000: Ad hoc setup tasks.

Something was funky in how the repo was originally imported that was causing the issues. Somehow got to a state where it wasn't properly a bare repo (there wasn't a working tree, but everything was still inside .git/ instead of the root folder). Not sure how that happened, but seems to be resolved now

Jun 18 2021, 15:42 · Phorge.it Systems
chris closed D25000: Update Readme.
Jun 18 2021, 15:39
chris committed rPfda1a5545066: Update Readme (authored by avivey).
Update Readme
Jun 18 2021, 15:39
avivey added a comment to T15011: Build a Phorge Developer Environment.

I have a plan for a single docker container for developing extensions.
It's really a question of "what will people like", so maybe throw everything at the wall and see what sticks.

Jun 18 2021, 15:37 · Extension Development
chris awarded T15011: Build a Phorge Developer Environment a 100 token.
Jun 18 2021, 14:56 · Extension Development
speck added a comment to T15011: Build a Phorge Developer Environment.

We should consider a Vagrantfile in place of docker containers. I think it will be more approachable to newcomers having a single VM with all the services/configurations setup compared to managing multiple containers.

Jun 18 2021, 14:03 · Extension Development
speck planned changes to D25002: T15006: Replacing external-facing trademarks/assets.

I think the plan for this is going to be

  1. Try to address all external-facing "Phabricator"s
  2. Submit this patch upstream on secure.phabricator.com
  3. Phorge pulls in this change from upstream
Jun 18 2021, 12:54
Ekubischta updated the task description for T15011: Build a Phorge Developer Environment.
Jun 18 2021, 12:14 · Extension Development
Ekubischta created T15011: Build a Phorge Developer Environment.
Jun 18 2021, 12:13 · Extension Development
avivey added a comment to T15000: Ad hoc setup tasks.
  • we.phorge.it works fine in Chrome, but arc has some issues w.r.t. CURLE_SSL_CACERT; I expect it might solve itself after a restart/update of my local machine.
  • git fetch from the new uri shows no errors
  • the push dragon still thinks rP51cb7a3db9 to 2abd75c162 is not fast-forward.
Jun 18 2021, 05:43 · Phorge.it Systems
avivey accepted D25002: T15006: Replacing external-facing trademarks/assets.
Jun 18 2021, 05:25
avivey accepted D25001: T15006: Update .arcconfig to point to we.phorge.it.
Jun 18 2021, 05:22
speck updated the diff for D25002: T15006: Replacing external-facing trademarks/assets.

Renaming getDefaultProjectName() to getDefaultWordmark()

Jun 18 2021, 03:54
speck added a revision to T15006: Re-brand Phorge: D25002: T15006: Replacing external-facing trademarks/assets.
Jun 18 2021, 03:50 · Phorge
speck updated the summary of D25002: T15006: Replacing external-facing trademarks/assets.
Jun 18 2021, 03:50
speck requested review of D25002: T15006: Replacing external-facing trademarks/assets.
Jun 18 2021, 03:49
speck added a revision to T15006: Re-brand Phorge: D25001: T15006: Update .arcconfig to point to we.phorge.it.
Jun 18 2021, 03:37 · Phorge
speck updated the summary of D25001: T15006: Update .arcconfig to point to we.phorge.it.
Jun 18 2021, 03:37
speck requested review of D25001: T15006: Update .arcconfig to point to we.phorge.it.
Jun 18 2021, 02:51
speck added a project to T15010: Vision Statement: Governance.
Jun 18 2021, 02:35 · Phorge, Governance
speck added a project to T15009: Evaluate legal organization format ("Foundation"): Governance.
Jun 18 2021, 02:34 · Phorge, Governance
speck added a comment to T15000: Ad hoc setup tasks.

Infrastructure setup is being documented in server

Jun 18 2021, 02:33 · Phorge.it Systems
speck created T15010: Vision Statement.
Jun 18 2021, 02:20 · Phorge, Governance
speck updated subscribers of T15009: Evaluate legal organization format ("Foundation").
Jun 18 2021, 02:10 · Phorge, Governance
speck created T15009: Evaluate legal organization format ("Foundation").
Jun 18 2021, 02:10 · Phorge, Governance
speck updated the task description for T15000: Ad hoc setup tasks.
Jun 18 2021, 02:02 · Phorge.it Systems
speck added a comment to T15000: Ad hoc setup tasks.

Okay I think everything is setup for the migration to we.phorge.it

  • I added a port 80 configuration for we.phorge.it to nginx
  • I ran certbot to grab a cert for we.phorge.it, I used --nginx
  • I updated the nginx conf file to clean up the automatic modifications and setup secure.phorge.it and secure.phorge.dev to redirect to we.phorge.it
  • I updated phabricator.base-uri to use we.phorge.it
  • I updated notification.servers to use we.phorge.it
  • I restarted nginx
Jun 18 2021, 01:58 · Phorge.it Systems
speck updated the task description for T15000: Ad hoc setup tasks.
Jun 18 2021, 01:52 · Phorge.it Systems
tobiaswiese added a comment to T15006: Re-brand Phorge.

Emails have a bunch of X-Phabricator-* headers, for configuring rules in mail clients.

  • We may want to allow installs to keep it as Phabricator for compatibility
Jun 18 2021, 01:46 · Phorge
speck added a comment to T15000: Ad hoc setup tasks.

Okay I'm going to try swapping out the URL for we.phorge.it. If everything goes well everyone will need to update their URLs and clone repos. If things don't go well I'll, uh, glue it back together

Jun 18 2021, 01:23 · Phorge.it Systems
speck added a comment to T15000: Ad hoc setup tasks.

Notifications are also functional. Took me a minute to remember where the "test notification" feature is located (it's in your user settings > notifications)

Jun 18 2021, 01:13 · Phorge.it Systems
speck added a comment to T15000: Ad hoc setup tasks.

Whoops, commented on the wrong task, tested imagemagick in T15006#314

Jun 18 2021, 01:13 · Phorge.it Systems
speck updated the task description for T15000: Ad hoc setup tasks.
Jun 18 2021, 01:12 · Phorge.it Systems
speck added a comment to T15006: Re-brand Phorge.

Checking imagemagick

sensible-chuckle.gif (289×500 px, 647 KB)

Jun 18 2021, 01:12 · Phorge
speck updated the task description for T15000: Ad hoc setup tasks.
Jun 18 2021, 00:50 · Phorge.it Systems
speck updated the task description for T15000: Ad hoc setup tasks.
Jun 18 2021, 00:44 · Phorge.it Systems
speck added a comment to T15000: Ad hoc setup tasks.

I'm going to get aphlict up and running before looking at changing the domain name stuff. Not having notifications is kind of a bummer.

Jun 18 2021, 00:15 · Phorge.it Systems
speck updated the task description for T15006: Re-brand Phorge.
Jun 18 2021, 00:14 · Phorge

Jun 17 2021

speck added a comment to T15000: Ad hoc setup tasks.

(I verified by starting a new ssh session over port 2222 and freshly cloning phorge after modifying diffusion.ssh-port)

Jun 17 2021, 23:59 · Phorge.it Systems
speck updated the task description for T15000: Ad hoc setup tasks.
Jun 17 2021, 23:58 · Phorge.it Systems
speck added a comment to T15000: Ad hoc setup tasks.

The ports are switched

  • Administrative port is now 2222
  • VCS port is now 22
Jun 17 2021, 23:58 · Phorge.it Systems
chris added a comment to T15000: Ad hoc setup tasks.

Hah yup, we're all good in case everything catches fire. I'm around all evening and can revert changes if anything goes haywire

Jun 17 2021, 23:45 · Phorge.it Systems
speck added a comment to T15000: Ad hoc setup tasks.

@chris I'm looking to make the SSH configuration change shortly, having the administrative ssh go over port 2222 and vcs go over port 222. In the event everything goes horribly wrong does someone have physical access to this machine or some other control mechanism?

Jun 17 2021, 23:41 · Phorge.it Systems
speck added a comment to T15005: Get Better Logo / Brand Assets.

For the time being I've modified the wordmark configuration to manually upload the logo file https://secure.phorge.it/config/edit/ui.logo/

Jun 17 2021, 23:37 · Phactory: Community Projects, Good Starter Task, Phorge
speck added a comment to T15005: Get Better Logo / Brand Assets.

@avivey the current installation includes a commit I had made on the github fork which made minimal changes to rebranding. Ultimately I think we'll want to scrap that commit but it should have replaced the eye icon with a lovely heart.

Jun 17 2021, 23:36 · Phactory: Community Projects, Good Starter Task, Phorge
Ekubischta added a comment to T15000: Ad hoc setup tasks.

I have some step by notes in our internal instance for getting SSH going - If you get stuck let me know and I will parse them into a public readable format

Jun 17 2021, 21:42 · Phorge.it Systems
avivey added a comment to T15005: Get Better Logo / Brand Assets.

BTW, it's intentional that the place of the logo is currently a blank space, right?

image.png (96×133 px, 1 KB)

Jun 17 2021, 21:24 · Phactory: Community Projects, Good Starter Task, Phorge
avivey updated the task description for T15000: Ad hoc setup tasks.
Jun 17 2021, 21:20 · Phorge.it Systems
chris added a comment to T15000: Ad hoc setup tasks.

Thanks @speck! I think we also need to update the NGINX config and phabricator.base-uri config to we.phorge.it from secure. Will also require updating the clone URI. You want to just bundle both changes at once to make things easier? Looks like @deadalnix already updated DNS so that should be hunky dory

Jun 17 2021, 21:19 · Phorge.it Systems
speck added a comment to T15000: Ad hoc setup tasks.
  • move administrative SSH to port 2222

This one is going to require that everyone who currently has a cloned repo to update it, correct? I'll take a look later tonight at swapping this out, as the sooner the better IMO. I'll comment here before making the change.

Jun 17 2021, 21:14 · Phorge.it Systems
avivey updated the task description for T15000: Ad hoc setup tasks.
Jun 17 2021, 21:10 · Phorge.it Systems
avivey updated the diff for D25000: Update Readme.

Squash and rebase change

Jun 17 2021, 21:06
speck added a comment to T15000: Ad hoc setup tasks.

I created Release Process for the release process.

Jun 17 2021, 21:03 · Phorge.it Systems
avivey added a comment to T15000: Ad hoc setup tasks.

Maybe create ssh.log file and chown it to git? and hope that's the only file it needs to write to?
I'm guessing from the name that it's only used by the SSH flow.

Jun 17 2021, 20:57 · Phorge.it Systems
speck added a comment to T15000: Ad hoc setup tasks.
In T15000#289, @avivey wrote:

https://secure.phabricator.com/book/phabricator/article/diffusion_hosting/

I think /var/repo should be owned by git:

The user the daemons run as. We'll call this daemon-user. This user is the only user which will interact with the repositories directly. Other accounts will sudo to this account in order to perform repository operations.

Jun 17 2021, 20:46 · Phorge.it Systems
avivey added a comment to T15000: Ad hoc setup tasks.

The release strategy of Phabricator was:

  • everything goes into master asap, unless it's dangerous
  • once a week, master gets merged into stable
    • after that, all the "dangerous" stuff lands to master
  • important stuff that comes up during the week gets cherry-picked to stable.
Jun 17 2021, 20:46 · Phorge.it Systems
chris added a comment to T15000: Ad hoc setup tasks.

Yeah, logging perms should (I think) be fixed now. I was dumb when I chowned things and forgot what system users needed what access.

Jun 17 2021, 20:46 · Phorge.it Systems
avivey added a comment to T15000: Ad hoc setup tasks.

I think /var/repo should be owned by git:

Jun 17 2021, 20:43 · Phorge.it Systems
avivey added a comment to T15000: Ad hoc setup tasks.

I think secure. had instructions about file ownership - looking...

Jun 17 2021, 20:42 · Phorge.it Systems
speck added a comment to T15000: Ad hoc setup tasks.

Do we have a documented release strategy? I'm not very familiar with git and I only have a vague sense of what Phabricator's release process was. I think it's something like

  • Accepted changes are landed into master
  • Evan cherry-picks changes from master into stable to "release"

Possibly with some additional smoke-testing somewhere in all this?

Jun 17 2021, 20:42 · Phorge.it Systems
speck added a comment to T15000: Ad hoc setup tasks.

I think there might be some permissions issues with the log location but I'm not sure if it's the root cause of the issue being seen here.

Jun 17 2021, 20:37 · Phorge.it Systems
avivey added a comment to T15000: Ad hoc setup tasks.

That one is totally my fault - 4042d24d74 is a local commit I have (updates .arcconfig). But I was trying the push from a different commit, which has 51cb7a3db9 as its (only) parent.

Jun 17 2021, 20:35 · Phorge.it Systems
chris added a comment to T15000: Ad hoc setup tasks.

Same with a patch workflow against a fresh clone of the repo:

phorge  (master)$ arc --config phabricator.uri=https://secure.phorge.it patch D25000
 INFO  Base commit is not in local repository; trying to fetch.
Created and checked out branch arcpatch-D25000.
Jun 17 2021, 20:28 · Phorge.it Systems
avivey added a comment to T15000: Ad hoc setup tasks.

git version 2.32.0.rc3 locally; 2.25.1 on the server. Both reasonably recent...

Jun 17 2021, 19:59 · Phorge.it Systems
Ekubischta added a comment to T15000: Ad hoc setup tasks.
In T15000#277, @avivey wrote:

Also won't let me push, because something thinks it's a non-fast-forward (it is, unless I'm drunk):

Jun 17 2021, 19:51 · Phorge.it Systems