IP Library Granted Patent US 11,003,439
Granted Patent B2
US 11,003,439 · App. 15/922,533 · Granted May 11, 2021

Incorporating version control into packaging

Inventors: Arie Bregman (Gan Yavne, IL); David Sariel (Holon, IL)
Assignee: RED HAT ISRAEL, LTD.
G06F8/71H04L67/34H04L67/40
View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 11,003,439
App. No.
15/922,533
Granted
May 11, 2021
Kind
B2
Abstract

Methods, systems, and computer program products are included for incorporating functionalities of a version control system into a package manager. An example method includes providing to a package manager a source file path corresponding to a source. A software version control system corresponding to the source is determined from the source file path. A command translation driver corresponding to the software version control system of the source is loaded by the package manager. The loaded command translation driver translates a package manager command to a corresponding command of the software version control system. The translated package manager command is executed by the package manager.

Claims (37)

1. A method comprising:

providing, to a package manager, a source file path corresponding to a source;

identifying by the package manager, from an alphanumeric value representing the source file path, a software version control system corresponding to the source;

loading, by the package manager, a command translation driver corresponding to the software version control system of the source;

translating, by the loaded command translation driver, a native package manager command to a corresponding command of the software version control system, wherein the native package manager command is provided via a command line interface; and

executing, by the package manager, the translated package manager command.

2. The method of claim 1 , further comprising determining from the source file path that the source is a remote source, and wherein the translating is responsive to the determining from the source file path that the source is a remote source.

3. The method of claim 2 , wherein the package manager command includes a command to retrieve the remote source and the corresponding command includes a command to clone or check out the remote source.

4. The method of claim 1 , wherein the translating includes using a pre-configured mapping of the command to the corresponding command.

5. The method of claim 1 , wherein the translating includes an ad-hoc translation of the command to the corresponding command.

6. The method of claim 1 , wherein the package manager command includes a command to retrieve version control information corresponding to the source.

7. The method of claim 1 , further comprising building, by the package manager, a package including the source.

8. A non-transitory machine-readable medium having stored thereon machine-readable instructions executable to cause at least one machine to perform operations comprising:

providing, to a package manager, a source file path corresponding to a source;

identifying by the package manager, from an alphanumeric value representing the source file path, a software version control system corresponding to the source;

loading, by the package manager, a command translation driver corresponding to the software version control system of the source;

translating, by the loaded command translation driver, a native package manager command to a corresponding command of the software version control system, wherein the native package manager command is provided via a command line interface; and

executing, by the package manager, the translated package manager command.

9. The non-transitory machine-readable medium of claim 8 , further comprising determining from the source file path that the source is a remote source, and wherein the translating is responsive to the determining from the source file path that the source is a remote source.

10. The non-transitory machine-readable medium of claim 9 , wherein the package manager command includes a command to retrieve the remote source and the corresponding command includes a command to clone or check out the remote source.

11. The non-transitory machine-readable medium of claim 8 , wherein the translating includes using a pre-configured mapping of the command to the corresponding command.

12. The non-transitory machine-readable medium of claim 8 , wherein the translating includes an ad-hoc translation of the command to the corresponding command.

13. The non-transitory machine-readable medium of claim 8 , wherein the package manager command includes a command to retrieve version control information corresponding to the source.

14. The non-transitory machine-readable medium of claim 8 , further comprising building, by the package manager, a package including the source.

15. A system comprising:

a non-transitory memory; and

one or more hardware processors coupled to the non-transitory memory to execute instructions from the non-transitory memory to perform operations comprising:

providing, to a package manager, a source file path corresponding to a source;

identifying, by the package manager, from an alphanumeric value representing the source file path, a software version control system corresponding to the source;

loading, by the package manager, a command translation driver corresponding to the software version control system of the source;

translating, by the loaded command translation driver, a native package manager command to a corresponding command of the software version control system, wherein the native package manager command is provided via a command line interface; and

executing, by the package manager, the translated package manager command.

16. The system of claim 15 , further comprising determining from the source file path that the source is a remote source, and wherein the translating is responsive to the determining from the source file path that the source is a remote source.

17. The system of claim 16 , wherein the package manager command includes a command to retrieve the remote source and the corresponding command includes a command to clone or check out the remote source.

18. The system of claim 15 , wherein the translating includes using a pre-configured mapping of the command to the corresponding command.

19. The system of claim 15 , wherein the translating includes an ad-hoc translation of the command to the corresponding command.

20. The system of claim 15 , wherein the package manager command includes a command to retrieve version control information corresponding to the source.

Assignments (1)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Mar 15, 2018
From: BREGMAN, ARIE; SARIEL, DAVID
To: RED HAT ISRAEL, LTD.
Reel/Frame 045240/0868 →
Continuity (1)
Related Publication 20190286438A1 · Sep 19, 2019