Modern flow is:
- Queries
- All Stories
- Search
- Advanced Search
- Transactions
- Transaction Logs
All Stories
Sep 22 2017
Sep 21 2017
Sep 20 2017
Some followup SHOW INDEXES from the case in PHI47 provided output which didn't have any evidence of key cardinality issues, so it seems less likely that this is a cardinality problem.
Sep 19 2017
In T9548#229910, @indygreg wrote:https://www.mercurial-scm.org/repo/hg/file/default/contrib/phabricator.py is a Mercurial extension that allows you to send a series of changesets to Phabricator by calling Conduit APIs directly. The extension is currently tailored for the use cases of the Mercurial project itself, isn't distributed with Mercurial, and may require Mercurial 4.3. And it obviously bypasses Phabricator's built-in Mercurial server. But if you are willing to live with the caveats, you may find it a suitable workaround.
Sep 18 2017
An unusual case here is Herald rules which take the "Send me an email" action, and act "only the first time". Their current behavior will be to activate when the draft is created, have their mail killed later in the pipeline when the Editor declines to generate any, and then never fire again.
I deployed this to secure without issue, so it looks like LOCK TABLES ... is promising as a general tool for migrations.
We actually already have bin/remote stop, I just run it so rarely that I forgot about it.
Next chapter: T12989: Phacility Deployment: 2017 Week 38
Sep 16 2017
vault002 is dead. Long live lb001.
Sep 15 2017
This is now deployed on this server, we'll see how it holds up. It won't promote to stable until next week, and I'd discourage anyone from picking it up right away.
Swap DNS.
- I opened up 22 -> 2223 on lb001.
- I allowed external 22 in the security group.
- I hard-coded my hostfile and cloned successfully:
I'm going to take a stab at this now since I think it's non-disruptive and straightforward.
We use Almanac + Passphrase + Ansible + (Dynamic inventory client) for this.
Sep 14 2017
It's also possible to write a custom instances.do-exactly-what-we-need sort of endpoint and generalize later if that seems like a more promising approach.
The other shadow lurking in the water here -- which I think we can mostly avoid -- is that Almanac is mostly a-bit-bare-bones-but-overall-pretty-functional, except that the way properties on Bindings and Services are specified and edited is complete garbage. You more or less just have to magically know which properties are valid, and there's no real support for defaults or nice UI controls or hints about what you can set or suggestions that you're making stuff up and probably typo'd something.
The "most right" way in terms of consistency is to fully convert Binding to EditEngine, then implement almanac.binding.edit which can create/edit bindings. When creating a binding, it would require transactions specifying the service and interface. PhamePostBlogTransaction is sort of an example of this: when you create a new post with phame.post.edit, you must specify a blog transaction.
What's the best way to add API endpoints for resources like bindings? Call it almanac.create_binding and have it take a service and an interface as arguments?
Yeah, this is hard coded here:
In Mercurial, can a branch have some open heads and some closed heads?
This seems like a legacy data issue that's probably unique to this install. The only way I could reproduce it locally was:
Sep 13 2017
See also PHI68.
Oh, yes, sorry, looked at the wrong tab.
Do you mean "follow up in PHI55"?
This is also affecting other persistent sticky notifications, notably "Read-Only Mode" and "High Security Mode". I need "Read-Only" mode for PHI36 so I'll take a look at this.
In T12974#231875, @saggid wrote:Very intresting update. Now we can search in projects code, as i see? Thanks for this supir dupir project guys)
Very intresting update. Now we can search in projects code, as i see? Thanks for this supir dupir project guys)
As for the templates-as-starting-points case: couldn't this be solved by implementing edit engine support for Phriction?
Sep 12 2017
(@amckinley, if you have time to pick this up it's one of the more tackle-able tasks in the support queue.)