Find

InterSystems Official
· Jul 9, 2024

Git-source-control launches release 2.4.0 with a new basic mode

The Application Services team is pleased to announce the release of git-source-control version 2.4.0, introducing several new features to the open-source project.

For those unfamiliar, git-source-control is an embedded (or "server-side") source control tool for InterSystems products, installed through the InterSystems Package Manager.

 

 

Here are the key additions to the 2.4.0 release:

  1. Basic Mode

Basic mode presents an overall great simplification to the git workflow, suitable for users with less knowledge of git as a source control tool. The basic mode has been explicitly developed for the feature branch and trunk-based models of development.

In basic mode, the typical flow of staging, committing, pulling and then pushing has been enveloped in a 'Sync' operation. Users need only choose the 'Sync' operation from the menu, and their local changes will automatically be synchronized with the corresponding branch in the remote repository (on GitHub, GitLab, etc.).

To enable basic mode, simply navigate to the 'Settings' page of the git-source-control tool, either through the embedded menu or the web UI, and select the 'Use Basic Mode' option in the user settings at the bottom of the page.

        2. Revamped Workspace UI

The workspace section of the git-source-control Web UI provides an area for users to take actions on changes to their repository.

Previously, it was divided into four segments, a diff view, a working copy view, a commit message view and a staging area.



 

 

With the new workspace view, the working copy and staging area have been collapsed into a single list of files with checkboxes, and it's clearer that the commit message is a text field. The diff view has been enhanced, allowing uncommitted files from other IRIS users to be viewed in the diff view, which previously was not supported. We believe these changes make the user interface much more intuitive.

 

          3. Default Merge Branch

In basic mode, a new setting for the 'default merge branch' allows users to specify a branch whose remote copy will be merged into the current branch before pushing to the remote repository.

This setting was implemented to provide additional built-in support for the trunk-based source control approach. Merging with this option will also automatically resolve a common class of merge conflict that occurs when multiple developers are working on the same IRIS Interoperability production.

 

Notable Bug Fixes:

            1. Git commands changing local repository files now synchronize with IRIS

Previously, the checkout, merge, rebase, stash and discard operations did not have their changes to the local file tree reflected by IRIS. Now, upon any of these commands being run, IRIS will update to provide file versions that match the local repository, including deleting files that don't exist in the current branch, or adding files that only exist in the current branch. This also compiles the changed files, which is especially important for changes to interoperability productions to reflect in the Production Configuration page.

             2. Deleted files are now shown in the Workspace UI

Previously, files deleted in the repository would not show up as one of the changes in the workspace. This meant that deletions would go unstaged and uncommitted, leaving the deleted files lingering in the repository. In the new UI, not only do all types of file changes (including deletions) show in the workspace, but the files are also listed with the corresponding git action, such as "modified", "added", "deleted" or "renamed."

 

              3. Users with %Developer are now able to perform all actions though the package without the need for added roles

In some cases, users were unable to perform many of the package's operations with being granted additional SQL privileges. This is no longer the case, simplifying security configuration.

 

 

For a full list of features and bug fixes introduced by the 2.4.0 release, please see the changelog.md file in the git-source-control repository on GitHub.

We are always looking for feedback and improvements for the git-source-control tool! Please feel free to create a GitHub issue in the repository if you encounter a bug or think an important feature is missing.

1 Comment
Discussion (1)1
Log in or sign up to continue
Announcement
· Jul 8, 2024

Winners of the 3rd InterSystems Ideas Contest

Hi Community!

Our 💡 3rd InterSystems Ideas Contest has come to an end. As a result, there are 🔥 30 new ideas! They all focus on improving InterSystems IRIS and related products and services, highlighting tangible benefits for developers once the ideas are implemented.

And now we announce the winners...

  

Experts Nomination

🥇 1st place goes to the idea Add a debugger for Embedded Python in Visual Studio Code by @Pietro Di Leo
The winner will receive🎁 JBL Tour Pro wireless Noise Cancelling earbuds.

🥈 2nd place goes to the idea Distributed Work Manager by @Alexey Maslov
The winner will receive🎁 Patagonia Unisex Nano Puff® Vest.

🥉 3rd place goes to the idea IPM (ZPM) extension for VS Code by @John Murray  
The winner will receive🎁 LEGO Vespa 125 / Corvette / NASA Mars Rover Perseverance / Kawasaki Ninja H2R Motorcycle.

Community Nomination

We found that 2 ideas were very much ahead of the rest in terms of the number of votes, and the second idea was only 1 vote behind the leader. To show our appreciation to our participants, we've decided to expand our Community nomination and award 2 top-voted ideas. Therefore this time community award goes to:

🌟 The idea Add a debugger for Embedded Python in Visual Studio Code by @Pietro Di Leo
The winner will receive🎁 LEGO Vespa 125 / Corvette / NASA Mars Rover Perseverance / Kawasaki Ninja H2R Motorcycle.

AND

🌟The idea IPM (ZPM) extension for VS Code by @John Murray  
The winner will receive🎁 LEGO Vespa 125 / Corvette / NASA Mars Rover Perseverance / Kawasaki Ninja H2R Motorcycle.

🔥 Moreover, all participants of the 3rd Ideas Contest will get a special gift - a branded T-shirt with the InterSystems logo (unisex).

 
Let's have a look at the participants and their brilliant ideas

OUR CONGRATULATIONS TO ALL WINNERS AND PARTICIPANTS!

Thank you for your attention to the Ideas Contest and the effort you devote to the official InterSystems feedback portal 💥


Important note: The prizes are in production now. We will contact all the participants when they are ready to ship.

3 Comments
Discussion (3)3
Log in or sign up to continue
Discussion (3)1
Log in or sign up to continue
Question
· Jul 6, 2024

Handling non-8-bit characters in HTTP headers.

Hi all,

When passing on the content of a file in a REST API call, I need to put the original file name in an HTTP header. As it happens, some file names have non-8-bit characters in them ("å", "ö", and the like), and these arrive garbled on the other side. Does anybody know the correct way to encode them (assuming they should be encoded at all)?

$zconvert(filename, "O", "UTF8") does not appear to be it. I'm leaning towards $zconvert(filename, "O", "URL"), but leaning isn't good enough.

Thanks,
Otto

2 Comments
Discussion (2)1
Log in or sign up to continue
Announcement
· Jul 4, 2024

积极参与社区互动,赢取中文社区最佳贡献奖!

👉即日起积极参与社区互动,就有机会获得赠书《AI医疗革命》(中文版)!

Hi 开发者们,

为鼓励大家积极参与社区建设,即日起我们将持续、按月举办💡“中文社区最佳贡献奖”💡活动。

📅  活动简介

我们会在每个月的新增成员现有成员中分别抽取一名当月积分最高的社区成员,奉上“中文社区最佳贡献奖”,奖品为《AI医疗革命》(中文繁体译版)一本。本书中文简体译版为《超越想象的GPT医疗》,原著The AI REVOLUTION IN MEDICINE(GPT-4 AND BEYOND) 出版于2023年,作者Peter Lee,Carey Goldberg,Isaac Kohane分享了以GPT-4 为代表的大语言模型在医学领域的诸多应用可能性,更重要的是向大家展现了一种可能出现的人- 机相结合的“关系”范式。本书(中文简体译版)也在CHIMA 2024期间作为优秀图书得到了推荐,值得一读。

🎉  哪些成员可以参与?

InterSystems开发者社区中文社区现有成员,以及当月新加入中文社区的成员(非InterSystems员工),均在此次活动范围。

✅如何参与?

我们欢迎您在社区进行以下互动:

  • 发布文章/经验帖;
  • 在Open Exchange发布应用;
  • 在现有的帖子下,积极发布有效评论/回复;
  • 将英文社区的文章翻译到中文社区;
  • 邀请新成员加入开发者社区(如果您邀请了新成员,请通过站内信联系 @Claire Zheng 并告知)。

🎁  获奖须知

  • 每位社区成员仅有一次获奖机会,我们会在抽奖时排除已获得过“中文社区最佳贡献奖”的成员。
  • 我们会于次月公布上月的获奖者,通过开发者社区站内信与获奖者取得联系并进行奖品邮寄。敬请您留意。

 🍀 如果您对此次活动有任何疑问,欢迎跟帖提问!🍀 

Discussion (0)1
Log in or sign up to continue