Closed tjcouch-sil closed 2 weeks ago
Methods from SendReceiveProjectsForm.cs
_sharedProjects
is displayedsrSourceType
and source
line 1509 and runs LoadSourceRepositories
which runs the actual retrieval logic CreateSharedProjectListInternal
ChangeListForm.CreateHTML
Not sure if this is an appropriate place for what is essentially a feature request, but I often find myself wanting to "receive without sending". Conflict resolution is obviously a complicated problem - in my case, I am always willing to destroy local changes. I am wanting to be sure I don't push local changes. At the very least, I want to note this here because I'd love to see the design support this kind of feature in the future, even if not immediately.
Looks like we will have to find mercurial on the system or bundle it in like Paratext does (on Windows). There are also a handful of files we need to distribute. Some notes from a discord conversation:
init
function with default config. John W thinks this would only affect if P.B created a USB repo and Paratext tried to use it. But there are init arguments that make it backwards compatibleapt-get
and some other package repos, but I can't list versions. There are also some rpm files on the site.Download - Mercurial - explanation of various options available UnixInstall - Mercurial - instructions for building versions on unix? Maybe not Mercurial downloads - download links DeveloperRepos - Mercurial - explanation of what repos are what hg-stable: 197f092b2cd9 / - 4.8.2 version source BuildingOnWindows - Mercurial - old instructions for building on Windows BuildingPackages - Mercurial
To set up Paratext 10 Studio for using Send/Receive (for now - will likely improve in https://github.com/paranext/paranext-core/issues/971):
Get Paratext Registry access:
On Windows:
On Linux or Mac:
sudo apt-get install mercurial
)InternetSettings.xml
and RegistrationInfo.xml
from a Windows machine that has already set up registration information in Paratext 9 from the Windows directory %localappdata%/Paratext95
to the Linux or Mac directory ~/.local/share/Paratext95
~/.local/share/Paratext95/InternetSettings.xml
and ~/.local/share/Paratext95/RegistrationInfo.xml
based on the templates below.
SelectedServer
to Production
if you want to use the production server.Enabled
, VpnRequired
, Disabled
, and ProxyOnly
for PermittedInternetUse
Sample InternetSettings.xml
:
<?xml version="1.0" encoding="utf-8"?>
<InternetSettingsMemento>
<SelectedServer>Development</SelectedServer>
<PermittedInternetUse>Enabled</PermittedInternetUse>
<ProxyPort>0</ProxyPort>
</InternetSettingsMemento>
Sample RegistrationInfo.xml
:
<?xml version="1.0" encoding="utf-8"?>
<RegistrationData>
<Name>Your Name</Name>
<Code>YourParatext9RegistrationCode</Code>
<Email>YourEmailAddress@example.com</Email>
<SupporterName />
</RegistrationData>
PRs: Made extension contributions load in order, added spinner, updated ParatextData to 9.5.0.6, misc bug fixes and improvements - 8 unreplied - Reviewable Include untracked changes aka new code files in patches - Reviewable Added send/receive service to dotnet process by tjcouch-sil · Pull Request #3 · paranext/paratext-10-studio Added Send/Receive extension including dialog and menu items by tjcouch-sil · Pull Request #67 · paranext/paratext-bible-internal-extensions Added link to S/R setup instructions, fixed default hg paths for mac by tjcouch-sil · Pull Request #4 · paranext/paratext-10-studio
Documentation: Troubleshooting Guide · paranext/paranext Wiki Set up Send Receive Functionality · paranext/paranext Wiki
Verified the Send/Receive functionality on the Paratext 10 studio.
User Story As a translator, I want to be able to collaborate with others on my Scripture projects so that we can work together effectively.
Description Develop a rough-cut first draft of Send/Receive functionality in Platform.Bible.
UX Design (in progress) https://www.figma.com/design/2p7VtjVtRzp5e8zWi5ZCSy/Send%2FReceive?node-id=0-1&t=UIbKzXg4pwcS6EB7-0
PT9 Send/Receive Dialog![image of PT9 Send/Receive Dialog](https://github.com/paranext/paranext-core/assets/104016682/f8a2a50d-7d75-4d05-8dd9-954888b5b1ac)
S/R Results dialog![image of S/R Results dialog](https://github.com/paranext/paranext-core/assets/104016682/4c1d2c37-b3d4-41d2-8b10-763c0139c232)