Configurable version control service integration
See original GitHub issue- Which version of Django are you using?: 2.2
- Which version of django-rosetta are you using?: 0.9.5
- Have you looked trough recent issues and checked this isn’t a duplicate? Yes
Feature: Link to source file
The “Occurrence(s)” column in the Web UI lists file names and the line numbers of where the text was extracted from. It should be easy to configure an external service URL and generate a link to display the text location in the file under version control.
If the reference content (see definition) is directly a valid URL (e.g. when I edit the PO file and add a #. https://foo.bar.com
line to an item) that URL should be turned into a clickable link either.
Related
See https://code.djangoproject.com/ticket/32356 for a related Django feature request.
Issue Analytics
- State:
- Created 3 years ago
- Comments:5 (3 by maintainers)
Top Results From Across the Web
Configuration Management and Version Control
The key features to look for would be version control integration and flexibility in managing tasks and issues. Both JIRA and TFS are...
Read more >Top 5 BEST Version Control Software (Source Code ...
Version Control VCS is also referred as SCM (Source Code Management) tools or ... Integrates well with Windows, leading IDE and Agile tools....
Read more >Distributed Version Control System Integration - Catch Software
Version control can be configured at an organisation or project level. To configure version control settings for an organisation, go to Admin -> ......
Read more >Integrating a Version Control System (VCS) with webMethods ...
This video from Software AG shows how to configure packages with a VCS ... a Version Control System (VCS) with webMethods Service Designer ......
Read more >DevOps tech: Version control - Google Cloud
Version control systems like Git, Subversion, and Mercurial provide a logical means to organize files and coordinate their creation, controlled access, updating ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
To answer the original request, the way I’d implement this is by defining a new setting, e.g.
ROSETTA_LINK_OCCURRENCES
which should be a callable taking the occurrence string (e.g."templates/test.html:3"
) and return an URL orNone
. We could then call that callable for every entry in the form page and if the result is a link, we’d add a hyperlink on the occurrence.Thoughts?
Sounds good to me. Is your suggestion just about the setting and the implementation of turning the text into a link, or do you think about a default implementation of the callable, too?
If we had, say, a
ROSETTA_VCS_URL
and aROSETTA_VCS_REVISION
we could have a default implementation that might work for simple, single-repository projects. This could be a helpful starting point, aka reference implementation, for custom setups.