Closed by commit rP03a02530cbd5.
- Queries
- All Stories
- Search
- Advanced Search
- Transactions
- Transaction Logs
All Stories
Oct 30 2014
Do you have any Phabricator user, who use SVN repositories? I wonder what workflow they are using.
If patch itself is failing and we can detect a bad binary of patch, we'd look into doing that. If it's just a workflow issue that you have a preference, we're unlikely to change the defaults of Phabricator as many other developers already rely on existing behaviour.
Due the inability to split changes by branches (like in Git) my SVN workflow is to have multiple files changed related to several issues at same time. I group them together using SVN changelist feature. Unfortunately arc diff doesn't take SVN changelists into account and creating revision based on all changes files in working copy, which is not what I need. Because of this I create patch from changeset manually and upload it to Differential via Web Interface. In this scenario Differential can see the SVN revisions in patch file, but it doesn't know the repository they are associated with and therefore has empty context.
So it's the git repo workflow (with branch creation) that is preventing .orig files from being created in your case.
Can you cleanly arc patch from secure.phabricator.com?
Can you cleanly arc patch from secure.phabricator.com? I'm running 2.5.8. You could also download your diff and try to manually pass the file to patch.
That's the thing: there are no conflict. You can see that lines are shifted a bit in a file and with fuzz factor of 1 hunk was applied. You can see that clearly on my scenario.
patch only generates these files when there is a conflict it can't resolve.
@chad, so you're saying that following my instructions you don't get .orig files created? Which patch version is on your side? Mine is:
That's no workaround, because actual patch command is invoked from within the Arcanist. That argument is needed to be added in it.
This is working as intended on our side, and glad you've found a workaround for yourself.
I got this to work as you suggested.
Actually number of files in commit is displayed for commits in Diffusion, e.g. Changes (5). So doing same for Differential would just make this behaviour consistent.
I've debugged arc patch command and defietely after https://github.com/phacility/arcanist/blob/master/src/workflow/ArcanistPatchWorkflow.php#L582-L587 lines are invoked I got my files patched and .orig files present.
Nope, this was solved by recent changes and now all Herald-rule marked commits have nice orange "Audit Require" badge on them.
Maybe this pattern could help: this particular wiki document was moved ("This document was moved from elsewhere"). The second error I get on reindexing also refers to a wiki document that was moved.
In T6406#81315, @epriestley wrote:
- Running bin/remove destroy <phid> is usually a reasonable way to resolve the error. Ignoring it is also reasonable.
I've tried that just now:
tools@dev1:~/phabricator/phabricator/bin$ ./remove destroy PHID-WIKI-amenci5bzyxy5k4ndwwu Usage Exception: No such object "PHID-WIKI-amenci5bzyxy5k4ndwwu" exists!
So I did a text search through all databases and found relations to this PHID in the following tables:
- feed_storydata
- feed_storyreference
- phriction_document
- search_document
- search_documentfield
- search_documentrelationship
- worker_taskdata
Maybe this could help in finding the source of the bug. Thanks for the explanation, I'll just ignore it for now!
In T6406#81303, @btrahan wrote:Huh, I didn't know that was possible. How does one check the definitive shell history of all users on a given host?
We have single user access for our central phabricator install, whose sessions are explicitly logged in case of stuff like this :)
I'm using SVN 1.6 working copy.
Does this issue still exist?
Oct 29 2014
More specifically, we do not pass -b that I can find.
Can you provide a list of steps to reproduce the issue? Using arc patch on git, I have not been able to repro this.
You can destroy items from the command line if you are an admin, we don't provide delete via the web interface.
I find the "possible duplicates" search very handy when using Wikimedia's bugzilla. My experience and usual workflow matches what @qgil describes.
This is theoretically supported, but not documented, and may have some rough edges (I believe only one user has done an implementation).
I should also note we'll likely integrate into Calendar for date edges at some point in the future.
We are using them as countdowns to launch dates / milestones within our project
Thank you @cburroughs! Maybe a wikimedian will contact you soon, since we also need to deal with a Trello to Phabricator migration.
Are you using Countdown as a way to specify things like due dates, launch dates, etc?
- This warning seems scary, but is super minor. We should probably tailor the output to make this more clear, or silence the warning entirely when running in batch (--all or --type) modes (showing it when indexing a single object probably still makes sense).
- Usually, this is because some sub-object doesn't exist. In this case, when we load a wiki page we also load the content. Probably the content has gone missing somehow. We decline to load partial objects and fail with this error. Other cases are, e.g., a commit with a missing repository.
- Running bin/remove destroy <phid> is usually a reasonable way to resolve the error. Ignoring it is also reasonable.
- The root cause is probably an actual bug, but we don't have nearly enough information to figure out what happened by just seeing that something went missing (there's no way to reproduce the issue, and in most or all cases examining the database doesn't give us any more information). There are a handful of outstanding issues with Phriction, particularly around moves/renames and project integration, so whatever the root cause was will probably be fixed when we clean that stuff up.
To contribute to this, some months ago we moved from a LiquidPlanner instance with a few thousand tasks to PH. From what I remember now, if conduit was a bit more powerful it would be a lot easier to do such things (it's almost like if PH don't want people to migrate from other systems into PH). The basic things missing from conduit, last time I looked at it, was the ability to specify dates other than the current one for any action you do (e.g. task creation date, comment date).
Closed by commit rPdd49096a857b.
Building on the work from the Blender team (thanks!) we have been able to plan a migration of ~40,000 trac/trello tickets into phabricator. Summary: (A) a lot of work (B) gross code (C) basically working (huzzah!). If you are considering doing something similar some examples from what we did might help. I'd only go down that path if you have significant expertise in the source system and phabricator (as in if you break your phabricator install you will need to fix it on your own).
Huh, I didn't know that was possible. How does one check the definitive shell history of all users on a given host?
Thanks. I've just checked our shell history; no bin/remove was executed.
Ah sorry, misread the report.
Some specific notes on this:
This seems pretty funky to me versus something like T6008 where you could just edit the code as you go, achieving the goal of easily adding "TODO" comments all over the code. I also think the amount of people browsing the code via diffusion versus looking at the actual code itself is such that you're much better off with the comments actually being part of the code. I also had my first waking nightmare about the user confusion as these comments pop up in Differential / Audit views versus something like T6008 where they'd be there in the code itself in a rather sensical fashion.
Closed by commit rPdc6b988deac9.
I'll take a look.
Yep, its on the wishlist. Just an FYI / helpful tip.
Maybe this is more complicated than I think, the same user made a comment here:
See D8703 for previous work. We currently assume that #security. is a slug named security. (with a period), and allow this as a side effect of allowing slugs like #blog.phacility.com, which seems reasonable (e.g., allowing project names to be domain names or domain-like strings).
We'll fix this eventually, but this isn't a priority and may require a more general approach (see also T665). As a workaround, you should be able to reload the page.
Yes, the current implementation doesn't pursue that optimization because it's simpler to omit it and simpler to debug issues when the queries only do one thing each.
Perhaps I'm misunderstanding, but it seems like storage adjust could be made more efficient. Each time you alter a table, MySQL makes a copy of it, alters the copy then replaces the original with the modified one. If we perform several alters, this adds up to several table copies. On large tables this takes considerable time.
Luckily the existing repos, that are configured with file:// protocol are still working. I hope you won't be removing that.
Can we at least get a hint here about how to add these custom export definitions?
We removed this in June for security reasons. You can find some discussion in the June changelog:
That is useful, however, it does look a tad silly having a small panel within a dashboard panel when that is the only thing shown.
Also, are you aware of the embed syntax?
Thanks @chad !
Oct 28 2014
Replacing Project Pages with a customizable Dashboard seems like it'd solve most of these cases, at least.
Generally speaking, Phriction isn't our Product Management app. Workboards are, and maybe Dashboards to some other extent. We'd rather improve these to cover use cases that fit maybe how your company works, rather than pursue edge case use in Remarkup or Phriction. We have a lot planned around Workboards, and it is one of products we really want to have cover a lot of cases. Please take a look at Workboards and see what already is planned, and if something you'd think would benefit many Phabricator users is missing, feel free to file.
Yup, here's how you replicate