WO2006094216A9 - Method and system for file management of a source control management repository - Google Patents

Method and system for file management of a source control management repository Download PDF

Info

Publication number
WO2006094216A9
WO2006094216A9 PCT/US2006/007673 US2006007673W WO2006094216A9 WO 2006094216 A9 WO2006094216 A9 WO 2006094216A9 US 2006007673 W US2006007673 W US 2006007673W WO 2006094216 A9 WO2006094216 A9 WO 2006094216A9
Authority
WO
WIPO (PCT)
Prior art keywords
checked out
file
report
name
parameter
Prior art date
Application number
PCT/US2006/007673
Other languages
French (fr)
Other versions
WO2006094216A1 (en
Inventor
Rishi Bhatia
Original Assignee
Computer Ass Think Inc
Rishi Bhatia
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Computer Ass Think Inc, Rishi Bhatia filed Critical Computer Ass Think Inc
Publication of WO2006094216A1 publication Critical patent/WO2006094216A1/en
Publication of WO2006094216A9 publication Critical patent/WO2006094216A9/en

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/70Software maintenance or management
    • G06F8/71Version control; Configuration management

Definitions

  • the present disclosure relates generally to data processing and computing systems, and more particularly, to a method and system for file management of checked out or open files of a source control management repository.
  • an online ticketing program for an airline has a web front-end. Its browser-based interface is connected to a back-office application on a UNIX server that also interacts with a DB2 database on the mainframe. While the application has components on several different platforms, it is still considered a single application because it serves a single business purpose — managing airline ticketing processing.
  • the teams working on these complex, multi-tiered projects may be deployed around the world to take advantage of "follow-the-sun" development. For example, at the end of their day, a team in California hands off its development projects to a team in Japan, who then turns it over to a third team in the UK, and that group turns it over to a team in New York and so on.
  • CCM Change Control Management
  • Change Control Management software provides life cycle management, source version control and configuration management capabilities.
  • Conventional source control management products are designed to manage code changes as they are checked back into the source control repository.
  • developers have many unfinished projects on their machine's that are not checked back up in the source control repositories for long periods of time. Every developer and organization is at a great risk for not managing the code that is not included the checked-in file repository.
  • a system and method for managing at least one checked out file of a source control repository are provided. More specifically, a report is generated for each checked out file of a source control repository which allows a change control management (CCM) server to track the checked out file and determine whether the checked out file should be backed up.
  • the report may include the following parameters associated with the checked out file: repository name, project name, state name, package group, package name, physical location of the checked out file, actual repository location of the file, date when the file was checked out, version, and creator.
  • a method for managing at least one checked out file including the steps of identifying the at least one checked out file of a source control repository; retrieving at least one parameter associated with the at least one checked out file, the at least one parameter stored in query database; generating a report including the at least one parameter; and presenting the report to a user.
  • a system for managing at least one checked out file including a source control repository including at least one checked out file; a database including at least one parameter associated with the at least one checked out file; and a computing device for identifying the at least one checked out file, retrieving the at least one parameter associated with the at least one checked out file, and generating a report including the at least one parameter.
  • the report may be presented to a user via a display or formatted as an XML file to be employed in other computing applications, e.g., automated backups.
  • a set of computer-executable instructions for managing at least one checked out file includes the steps of identifying the at least one checked out file of a source control repository; retrieving at least one parameter associated with the at least one checked out file, the at least one parameter stored in query database; generating a report including the at least one parameter; and presenting the report to a user.
  • FIG. 1 is a block diagram of an exemplary system for managing checked-out files of a source control management repository in accordance with an embodiment of the present disclosure
  • FIG. 2 is an exemplary enterprise computing system
  • FIGS. 3A and B are flowcharts for illustrating a method for file management in accordance with an embodiment of the present disclosure
  • FIGS. 4A-C are flowcharts for illustrating a method for file management across an enterprise computing system.
  • a system and method for file management of a source control management repository are provided.
  • the system and method of the present disclosure provide a user with all the information required to keep track of checked out or open files in a source control repository of a Life Cycle Management (LCM) system, e.g., AIIFusionTM commercially available from Computer Associates International, Inc. of LLC.
  • LCM Life Cycle Management
  • the system and method will generate a report, e.g., a "Checked out item" report, and it may contain the following information: i. Group Name ii. User Name iii. Broker Name iv. Repository Name v. Project Name vi. State Name vii. Package group viii. Package Name ix. Physical location of the checked out file ( ⁇ MachineName ⁇ Fully
  • Qualified Path x. Actual repository location of the file in the LCM (View Path) xi. Date when the file was checked out xii. Other Misc information (branched files, versions, Status (Released or not), Creator, Created on, Modifier, Modified on).
  • Group Name contains information about one or more user groups to which a user belongs.
  • User Name is used to store a user name of a person who is currently working with the checked out file, e.g., Harvest user name.
  • Broker Name contains the name of the broker, i.e., the location of the repository.
  • Repository Name includes the name of the repository for which the report was generated.
  • Project Name contains the name of the project which contains open files.
  • State Name stores the State where the project is located.
  • Package group contains the name of the package group, e.g., a collection of files.
  • Physical location of the checked out file describes the fully qualified path for the location from which the file is checked out. The physical location is specified by the user when a check out for update process is run.
  • Actual repository location of the file in the LCM (View Path) is the absolute repository path. Date when the file was checked out corresponds to the time stamp when the check out for update process for performed.
  • the report may contain any number of the parameters discussed above as well as additional parameters which help to identify the file required to be backed up.
  • the system will implement a User Interface (Ul) or a command line utility to allow the user to customize the format of the report and add new fields at run time.
  • the Ul may also give the user the ability to query the report by the main fields (e.g., group, user name, repository name, project name, state name, package name, the client location or the client machine name, repository location of the file check out date and the server name).
  • the method of the present disclosure is implemented in a server process that can be queried to retrieve this report. Storage of this report will be in an encrypted form by the server. Once the report is created, the server process will keep track of the information and determine whether the information in the report is out of date, and if so, automatically update the information. Updating the report can be done on per user or per project basis. The process can be run by the server when it is idle or at a certain predetermined time or when a dynamic request is received.
  • the present invention may be implemented in various forms of hardware, software, firmware, special purpose processors, or a combination thereof.
  • the present disclosure may be implemented in software as an application program tangibly embodied on a program storage device.
  • the application program may be uploaded to, and executed by, a machine 100 comprising any suitable architecture such as a personal computer, a workstation or server. Referring to FIG.
  • the machine 100 is implemented on a computer platform having hardware such as one or more central processing units (CPU) 102, a random access memory (RAM) 104, a read only memory (ROM) 106 and input/output (I/O) interface(s) such as a keyboard 108, cursor control device 110 (e.g., a mouse or joystick) and display device 112.
  • a system bus 115 couples the various components and may be any of several types of bus structures including a memory bus or memory controller, a peripheral bus, and a local bus using any of a variety of bus architectures.
  • the computer platform also includes an operating system and micro instruction code.
  • various processes and functions described herein may either be part of the micro instruction code or part of the application program (or a combination thereof) which is executed via the operating system.
  • various other peripheral devices may be connected to the computer platform by various interfaces and bus structures, such as a parallel port, serial port or universal serial bus (USB), for example, additional storage devices and a printer.
  • USB universal serial bus
  • the computer 100 may operate in a networked environment using logical connections to one or more remote computers as shown in FlG. 2.
  • the remote computer may be a personal computer 202, a server 204, a router 206, a mainframe 208, a network PC, a peer device or other common network node, and typically includes many or all of the elements described above relative to the computer 100.
  • the network 210 may be a local area network (LAN), wide area network (WAN), the Internet or any known network that couples a plurality of computers to enable various modes of communication via network messages.
  • the network environment may be a corporate intranet including a single server and multiple personal computers housed within a single facility, or alternatively, multiple servers with multiple personal computers located in various geographic locations.
  • the user based report will contain information pertaining to a single logged in user. This functionality may be invoked from a button on a toolbar or a menu item in the change control management (CCM) software client. Preferably, this functionality will be available from the client software. This report will contain all the checked out file details for a single user.
  • the user interface will allow the user to configure the report and search by specifying the following parameters or variables: Repository
  • the method is initiated when a user requests the checked-file report (step 302).
  • the method determines if certain parameters are specified, e.g., server, user name and password (step 304). If the parameters are not specified, the method will prompt the user for user name, password and server name (step 306). Once the parameters are specified, the method will attempt to log on the user to the server by verifying the user's credentials (step 308). If access is denied, the method will exit the program with an error message, e.g., "Please recheck the user name, password, server name and try again" (step 310) and the process will end.
  • error message e.g., "Please recheck the user name, password, server name and try again"
  • the method will formulate a query to derive the proper information for the report.
  • the program will determine if the utility was invoked in default/prompt mode (step 312). If yes, the program will set the values for all parameters to ALL (Repository Name, Project Name, State Name, Group Name,
  • step 3114 the program will form a query with specified parameters (Repository Name, Project Name, State Name, Group Name, Package Name, User Name) (step 316). Once the parameters are specified, the program will query database tables or data storage to retrieve the proper information (step 318).
  • the program will determine if the request was from the Ul or a comnriand line utility (step 320). If the request was from the Ul, the data is returned to data structures (step 322) and the data is formatted, a grid is generated and the data is displayed in the gird (step 324).
  • the report will be generated in XML format (step 326). The report will then be published at the user-specified location (step 328).
  • the CCM Administrator will be able to find out the checked out file information for the entire repository not just for a single user.
  • This report will provide complete information as to where exactly the checked out source code items for the all the repository on a particular server are which is critical if an organization is going through a merger or an organization change.
  • This report will enable users to quickly resume work on older projects and help administrators quickly locate user- specific changes. This is especially helpful with broken builds where the developer is unavailable and it is essential to obtain access to the file in order to fix it. This feature allows the administrator to obtain the latest version of the file without manually determining if there is another more recent version of the file available.
  • the report generated consolidates information from many multiple CCM products, brokers and servers.
  • the report will have the ability to segregate the required information from disparate change control management products, servers and brokers.
  • the enterprise approach will interact with multiple Change Control Management (CCM) products.
  • CCM Change Control Management
  • the method of the present disclosure will query both distributed environments employing servers and clients (e.g., via Computer Associates HarvestTM) and mainframe environments (e.g., via Computer Associates EndevorTM) to retrieve the reports for all the projects. Then, these reports will be combined by the program to provide an enterprise checkout change management (CM) report.
  • CM enterprise checkout change management
  • the report will be generated depending upon the logged in user's credentials. A user might be able to generate the report only for the projects for which he/she has access. The administrator will be able to view this report for all the projects across different source code repositories.
  • CM Change Management
  • a user inputs parameters specifying the desired data (step 402), e.g., users, projects, servers, mainframes, etc.
  • the application program then parses the input to generate a query with specified parameters for the distributed environment (e.g., Allfusion HarvestTM server) and for the mainframe environment (e.g., EndevorTM Mainframe CM) (step 404).
  • the program determines if the query for the distributed environment is empty (step 406).
  • the data is retrieved using a command line HCO command or the program forms a query and calls a JDBC (Java Database Connectivity) API (Application Program Interface) for a direct read access to the CCM tables (step 408).
  • the data received is then cached (step 410).
  • the program generates a query for the mainframe environment. The program determines if the query for the mainframe environment is empty, and if so, passes onto step 420. Otherwise, if the query has specified parameters, the program formulates an API call for the mainframe CCM software (step 414), makes a call through CCI to the mainframe CCM API Server (step 416) and caches the data received (step 418).
  • the program determines if the request for the report was generated from the Ul (step 420). If yes, the program returns the data to data structures (step 422) and formats the data, generates a grid and displays the data in the grid (step 424). If the request did not come from the Ul, the program generates the report in XML format (step 426) and publishes/copies the report at the user specified location (step 428).
  • the change management server will provide an ability to publish the checked out item report in a variety of formats, e.g., CSV and XML. This report can then be transmitted to an external application like backup agents or workflow applications. This feature enables variety of key functionalities like integration of this report with a workflow or a backup agent.
  • a new command line server utility capable of running on all the major platforms is implemented to create the report in addition to requesting the report from the Ul.
  • This command line utility will return the link to the actual location of the generated report.
  • the key parameters to this utility are authentication, which is accomplished by retrieving the following information: login Information, including user name, password; and query parameters, including group name, user name for which the information is to be retrieved, repository name, project name, state name, package group, and package name. This may be accomplished by inputting specific commands.
  • command line utility syntax may be used: hcf [-usr username] [-pw password] [-f full filename for checked out file report] [-b name] [-r repository name] [-p project name] [-s state name] [-g group name] [-n package name] [-u user name] [-prompt] [-0 filename] [-h] [?] with each of the parameters described below in Table 1 :
  • the report is generated only if the supplied user name and password has the required privileges for accessing the data; if the credentials do not have sufficient privileges then this command returns with an error message.
  • this report at the enterprise level can be resource intensive. Therefore, in such circumstance, initially, the existing database schema is evaluated to determine what time stamping mechanism is in place. This allows the server or broker based report to be generated and, if a new request for the report retrieval is received, then the server will be able to quickly determine what sections of the report needs to be regenerated. The time stamp of the report will be used by the server to determine which sections of the report are outdated. An SQL query can be run on the database tables to quickly determine what new changes has been made since the report was generated. For new requests, the server can selectively update the sections of the report.

Abstract

A system and method for managing at least one checked out file of a source control management repository are provided. The system includes a source control repository including at least one checked out file; a database including at least one parameter associated with the at least one checked out file; and a computing device for identifying the at least one checked out file, retrieving the at least one parameter associated with the at least one checked out file, and generating a report including the at least one parameter. The report may be presented to a user via a display or formatted as an XML file to be employed in other computing applications, e.g., automated backups.

Description

METHOD AND SYSTEM FOR FILE MANAGEMENT OF A SOURCE CONTROL
MANAGEMENT REPOSITORY
BACKGROUND 1. Field
The present disclosure relates generally to data processing and computing systems, and more particularly, to a method and system for file management of checked out or open files of a source control management repository.
2. Description of the Related Art
The IT world is in a constant state of flux with new technologies, applications and platforms being constantly developed. In this ever-changing environment, application development managers and Chief Information Officers need to eliminate as much risk as possible. Most organizations must manage or support complex multiplatform applications that span the enterprise, including the mainframe server.
For example, an online ticketing program for an airline has a web front-end. Its browser-based interface is connected to a back-office application on a UNIX server that also interacts with a DB2 database on the mainframe. While the application has components on several different platforms, it is still considered a single application because it serves a single business purpose — managing airline ticketing processing.
Additionally, the teams working on these complex, multi-tiered projects may be deployed around the world to take advantage of "follow-the-sun" development. For example, at the end of their day, a team in California hands off its development projects to a team in Japan, who then turns it over to a third team in the UK, and that group turns it over to a team in New York and so on.
Furthermore, presently a majority of applications have a web front-end — with all the associated HTML pages and web content— to capitalize on Internet-driven business opportunities. Therefore, Change Control Management (CCM) solutions have emerged as essential infrastructure components in the enterprise-wide application development arena.
Change Control Management software provides life cycle management, source version control and configuration management capabilities. Conventional source control management products are designed to manage code changes as they are checked back into the source control repository. With today's distributed environments and multiple projects underway, developers have many unfinished projects on their machine's that are not checked back up in the source control repositories for long periods of time. Every developer and organization is at a great risk for not managing the code that is not included the checked-in file repository.
Currently, developers have to manually remember the physical location from where the files were checked out and manually backup these files. Then, the developers have to remember the correlation between the physical locations of the file, the software packages it is associated with and the actual backed up location.
With a single user involved in a project generally having multiple machines and multiple projects, the problem of keeping track of the checked out files for all the different projects is a very cumbersome and tedious process. This makes it hard to manage multiple files for a single developer and nearly impossible to achieve at an enterprise level.
Therefore, a need exists for techniques to allow users, developers and administrators to easily and conveniently manage checked out or open files from a source control repository.
SUMMARY
A system and method for managing at least one checked out file of a source control repository are provided. More specifically, a report is generated for each checked out file of a source control repository which allows a change control management (CCM) server to track the checked out file and determine whether the checked out file should be backed up. The report may include the following parameters associated with the checked out file: repository name, project name, state name, package group, package name, physical location of the checked out file, actual repository location of the file, date when the file was checked out, version, and creator.
In one aspect of the present disclosure, a method for managing at least one checked out file is provided, the method including the steps of identifying the at least one checked out file of a source control repository; retrieving at least one parameter associated with the at least one checked out file, the at least one parameter stored in query database; generating a report including the at least one parameter; and presenting the report to a user.
In another aspect of the present disclosure, a system for managing at least one checked out file is provided, the system including a source control repository including at least one checked out file; a database including at least one parameter associated with the at least one checked out file; and a computing device for identifying the at least one checked out file, retrieving the at least one parameter associated with the at least one checked out file, and generating a report including the at least one parameter. The report may be presented to a user via a display or formatted as an XML file to be employed in other computing applications, e.g., automated backups.
In a further aspect of the present disclosure, a set of computer-executable instructions for managing at least one checked out file is provided, the computer- executable instructions include the steps of identifying the at least one checked out file of a source control repository; retrieving at least one parameter associated with the at least one checked out file, the at least one parameter stored in query database; generating a report including the at least one parameter; and presenting the report to a user.
BRIEF DESCRIPTION OF THE DRAWINGS
The above and other aspects, features, and advantages of the present disclosure will become more apparent in light of the following detailed description when taken in conjunction with the accompanying drawings in which: FIG. 1 is a block diagram of an exemplary system for managing checked-out files of a source control management repository in accordance with an embodiment of the present disclosure;
FIG. 2 is an exemplary enterprise computing system; FIGS. 3A and B are flowcharts for illustrating a method for file management in accordance with an embodiment of the present disclosure; and
FIGS. 4A-C are flowcharts for illustrating a method for file management across an enterprise computing system.
DETAILED DESCRIPTION
Preferred embodiments of the present disclosure will be described hereinbelow with reference to the accompanying drawings. In the following description, well-known functions or constructions are not described in detail to avoid obscuring the present disclosure in unnecessary detail.
A system and method for file management of a source control management repository are provided. The system and method of the present disclosure provide a user with all the information required to keep track of checked out or open files in a source control repository of a Life Cycle Management (LCM) system, e.g., AIIFusion™ commercially available from Computer Associates International, Inc. of
Islandia, New York. The system and method will generate a report, e.g., a "Checked out item" report, and it may contain the following information: i. Group Name ii. User Name iii. Broker Name iv. Repository Name v. Project Name vi. State Name vii. Package group viii. Package Name ix. Physical location of the checked out file (\\MachineName\Fully
Qualified Path) x. Actual repository location of the file in the LCM (View Path) xi. Date when the file was checked out xii. Other Misc information (branched files, versions, Status (Released or not), Creator, Created on, Modifier, Modified on).
The organization of the report provides valuable information, since it compiles identification and location data concerning a file from a plurality of sources. Each field of the report will now be described. "Group Name" field contains information about one or more user groups to which a user belongs. "User Name" field is used to store a user name of a person who is currently working with the checked out file, e.g., Harvest user name. "Broker Name" contains the name of the broker, i.e., the location of the repository. "Repository Name" includes the name of the repository for which the report was generated. "Project Name" contains the name of the project which contains open files. "State Name" stores the State where the project is located. "Package group" contains the name of the package group, e.g., a collection of files. "Physical location of the checked out file" describes the fully qualified path for the location from which the file is checked out. The physical location is specified by the user when a check out for update process is run. "Actual repository location of the file in the LCM (View Path)" is the absolute repository path. Date when the file was checked out corresponds to the time stamp when the check out for update process for performed. One skilled in the art will understand that these parameters may contain information other than described above. In addition, the report may contain any number of the parameters discussed above as well as additional parameters which help to identify the file required to be backed up. Other information may include, but is not limited to, branched files, versions, status (e.g., whether released or not), creator, time of the creation, modifier, time of the modification, etc. Based on the report generated, the system and method will have the ability to create an external XML report file with all the information. This report will then be fed to external applications like backup agents, external agents or workflow applications. An exemplary system employing the generated report of the present disclosure is described in concurrently filed co-pending U.S. Patent Application, entitled "SYSTEM AND METHOD FOR BACKING UP OPEN FILES OF A SOURCE
CONTROL MANAGEMENT REPOSITORY" (Attorney Docket No. 20000390), under Express Mail Certificate No. EV 464570669 US the contents of which are hereby incorporated by reference in its entirety. Furthermore, the system and method has the ability to create a diff file, e.g., a differential file, for all the checked out files.
The system will implement a User Interface (Ul) or a command line utility to allow the user to customize the format of the report and add new fields at run time. The Ul may also give the user the ability to query the report by the main fields (e.g., group, user name, repository name, project name, state name, package name, the client location or the client machine name, repository location of the file check out date and the server name).
The method of the present disclosure is implemented in a server process that can be queried to retrieve this report. Storage of this report will be in an encrypted form by the server. Once the report is created, the server process will keep track of the information and determine whether the information in the report is out of date, and if so, automatically update the information. Updating the report can be done on per user or per project basis. The process can be run by the server when it is idle or at a certain predetermined time or when a dynamic request is received.
It is to be understood that the present invention may be implemented in various forms of hardware, software, firmware, special purpose processors, or a combination thereof. In one embodiment, the present disclosure may be implemented in software as an application program tangibly embodied on a program storage device. The application program may be uploaded to, and executed by, a machine 100 comprising any suitable architecture such as a personal computer, a workstation or server. Referring to FIG. 1, preferably, the machine 100 is implemented on a computer platform having hardware such as one or more central processing units (CPU) 102, a random access memory (RAM) 104, a read only memory (ROM) 106 and input/output (I/O) interface(s) such as a keyboard 108, cursor control device 110 (e.g., a mouse or joystick) and display device 112. A system bus 115 couples the various components and may be any of several types of bus structures including a memory bus or memory controller, a peripheral bus, and a local bus using any of a variety of bus architectures. The computer platform also includes an operating system and micro instruction code.
The various processes and functions described herein may either be part of the micro instruction code or part of the application program (or a combination thereof) which is executed via the operating system. In addition, various other peripheral devices may be connected to the computer platform by various interfaces and bus structures, such as a parallel port, serial port or universal serial bus (USB), for example, additional storage devices and a printer.
It is to be further understood that because some of the constituent system components and method steps depicted in the accompanying figures may be implemented in software, the actual connections between the system components (or the process steps) may differ depending upon the manner in which the present disclosure is programmed. Given the teachings of the present disclosure provided herein, one of ordinary skill in the related art will be able to contemplate these and similar implementations or configurations of the present disclosure. The authentication method of the present disclosure may be used at several levels, including operating system, application, or application components.
The computer 100 may operate in a networked environment using logical connections to one or more remote computers as shown in FlG. 2. The remote computer may be a personal computer 202, a server 204, a router 206, a mainframe 208, a network PC, a peer device or other common network node, and typically includes many or all of the elements described above relative to the computer 100. It is to be appreciated that the network 210 may be a local area network (LAN), wide area network (WAN), the Internet or any known network that couples a plurality of computers to enable various modes of communication via network messages. For example, the network environment may be a corporate intranet including a single server and multiple personal computers housed within a single facility, or alternatively, multiple servers with multiple personal computers located in various geographic locations.
Since all the information of the above-described report is currently available in the change management product, a method of the present disclosure will extract all the above mentioned information from its physical data storage, e.g., the source control repository. The method of retrieving the information and generating the report will now be described in relation to FIGS. 3 and 4. This report will be available at three levels:
1. User based 2. Project based from an administrator tool
3. Enterprise level
1. User based The user based report will contain information pertaining to a single logged in user. This functionality may be invoked from a button on a toolbar or a menu item in the change control management (CCM) software client. Preferably, this functionality will be available from the client software. This report will contain all the checked out file details for a single user. The user interface will allow the user to configure the report and search by specifying the following parameters or variables: Repository
Name, Project Name, State Name, Package group, Package Name, Physical location of the checked out file (\\MachineName\Fully Qualified Path), Actual repository location of the file in the LCM (View Path), Date when the file was checked out, Other Misc information (branched files, versions, Status (Released or not), Creator, Created on, Modifier, Modified on). In a Windows™ based system, the information will be presented in a grid, which will allow a user to sort the results, rearrange the column and search for key attributes, e.g., file names.
Referring to FIGS. 3A-B, the method is initiated when a user requests the checked-file report (step 302). The method then determines if certain parameters are specified, e.g., server, user name and password (step 304). If the parameters are not specified, the method will prompt the user for user name, password and server name (step 306). Once the parameters are specified, the method will attempt to log on the user to the server by verifying the user's credentials (step 308). If access is denied, the method will exit the program with an error message, e.g., "Please recheck the user name, password, server name and try again" (step 310) and the process will end.
If access is granted, at step 308, the method will formulate a query to derive the proper information for the report. The program will determine if the utility was invoked in default/prompt mode (step 312). If yes, the program will set the values for all parameters to ALL (Repository Name, Project Name, State Name, Group Name,
Package Name, User Name) (step 314). Otherwise, the program will form a query with specified parameters (Repository Name, Project Name, State Name, Group Name, Package Name, User Name) (step 316). Once the parameters are specified, the program will query database tables or data storage to retrieve the proper information (step 318).
Next, the program will determine if the request was from the Ul or a comnriand line utility (step 320). If the request was from the Ul, the data is returned to data structures (step 322) and the data is formatted, a grid is generated and the data is displayed in the gird (step 324).
If the request was not generated by the Ul, the report will be generated in XML format (step 326). The report will then be published at the user-specified location (step 328).
2. Administrator based At an administrator's level, the report generated will be available from the
CCM server. The CCM Administrator will be able to find out the checked out file information for the entire repository not just for a single user. This report will provide complete information as to where exactly the checked out source code items for the all the repository on a particular server are which is critical if an organization is going through a merger or an organization change. This report will enable users to quickly resume work on older projects and help administrators quickly locate user- specific changes. This is especially helpful with broken builds where the developer is unavailable and it is essential to obtain access to the file in order to fix it. This feature allows the administrator to obtain the latest version of the file without manually determining if there is another more recent version of the file available.
3. Enterprise based
On an enterprise level, the report generated consolidates information from many multiple CCM products, brokers and servers. The report will have the ability to segregate the required information from disparate change control management products, servers and brokers. The enterprise approach will interact with multiple Change Control Management (CCM) products. The method of the present disclosure will query both distributed environments employing servers and clients (e.g., via Computer Associates Harvest™) and mainframe environments (e.g., via Computer Associates Endevor™) to retrieve the reports for all the projects. Then, these reports will be combined by the program to provide an enterprise checkout change management (CM) report. As above, the report will be generated depending upon the logged in user's credentials. A user might be able to generate the report only for the projects for which he/she has access. The administrator will be able to view this report for all the projects across different source code repositories.
In a large organization, multiple LCM (Life Cycle Management) servers can be used for change management (CM). In this case one CM server will be designated as the master CM server. This server will register all the CM servers in an organization. The master server will then query all the registered servers for the checked out file report and then the master server will consolidate this report for a global CM checked out file report.
Referring to FIGS. 4A-C, a method for generating a checked out file report will be described. Initially, a user inputs parameters specifying the desired data (step 402), e.g., users, projects, servers, mainframes, etc. The application program then parses the input to generate a query with specified parameters for the distributed environment (e.g., Allfusion Harvest™ server) and for the mainframe environment (e.g., Endevor™ Mainframe CM) (step 404). Initially, the program determines if the query for the distributed environment is empty (step 406). If parameters exist for the distributed environment, the data is retrieved using a command line HCO command or the program forms a query and calls a JDBC (Java Database Connectivity) API (Application Program Interface) for a direct read access to the CCM tables (step 408). The data received is then cached (step 410). Next, the program generates a query for the mainframe environment. The program determines if the query for the mainframe environment is empty, and if so, passes onto step 420. Otherwise, if the query has specified parameters, the program formulates an API call for the mainframe CCM software (step 414), makes a call through CCI to the mainframe CCM API Server (step 416) and caches the data received (step 418).
Once all the data has been retrieved, the program determines if the request for the report was generated from the Ul (step 420). If yes, the program returns the data to data structures (step 422) and formats the data, generates a grid and displays the data in the grid (step 424). If the request did not come from the Ul, the program generates the report in XML format (step 426) and publishes/copies the report at the user specified location (step 428).
The change management server will provide an ability to publish the checked out item report in a variety of formats, e.g., CSV and XML. This report can then be transmitted to an external application like backup agents or workflow applications. This feature enables variety of key functionalities like integration of this report with a workflow or a backup agent.
A new command line server utility capable of running on all the major platforms is implemented to create the report in addition to requesting the report from the Ul. This command line utility will return the link to the actual location of the generated report. The key parameters to this utility are authentication, which is accomplished by retrieving the following information: login Information, including user name, password; and query parameters, including group name, user name for which the information is to be retrieved, repository name, project name, state name, package group, and package name. This may be accomplished by inputting specific commands. For instance, in the Harvest™ CM the following command line utility syntax may be used: hcf [-usr username] [-pw password] [-f full filename for checked out file report] [-b name] [-r repository name] [-p project name] [-s state name] [-g group name] [-n package name] [-u user name] [-prompt] [-0 filename] [-h] [?] with each of the parameters described below in Table 1 :
Table 1
Figure imgf000017_0001
Figure imgf000018_0001
The report is generated only if the supplied user name and password has the required privileges for accessing the data; if the credentials do not have sufficient privileges then this command returns with an error message.
The generation of this report at the enterprise level can be resource intensive. Therefore, in such circumstance, initially, the existing database schema is evaluated to determine what time stamping mechanism is in place. This allows the server or broker based report to be generated and, if a new request for the report retrieval is received, then the server will be able to quickly determine what sections of the report needs to be regenerated. The time stamp of the report will be used by the server to determine which sections of the report are outdated. An SQL query can be run on the database tables to quickly determine what new changes has been made since the report was generated. For new requests, the server can selectively update the sections of the report.
While the disclosure has been shown and described with reference to certain preferred embodiments thereof, it will be understood by those skilled in the art that various changes in form and detail may be made therein without departing from the spirit and scope of the disclosure as defined by the appended claims.

Claims

WHAT IS CLAIMED IS:
1. A method for managing at least one checked out file of a source control repository, the method comprising the steps of: identifying using a control management server the at least one checked out file; retrieving at least one parameter associated with the at least one checked out file, the at least one parameter stored in query database; generating a report including the at least one parameter; and presenting the report to a user.
2. The method as in claim 1 , wherein the at least one parameter is selected from the group consisting of repository name, project name, state name, package group, package name, physical location of the checked out file, actual repository location of the file, date when the file was checked out, version, and creator.
3. The method as in claim 1 , wherein the report is in XML format.
4. The method as in claim 1 , wherein the report is generated through a user interface.
5. The method as in claim 2, wherein the identifying step includes identifying at least one parameter to be retrieved by the user.
6. The method as in claim 2, wherein the retrieving step includes retrieving a predetermined set of parameters.
7. The method as in claim 1 , further comprising the steps of: identifying at least one of a server and mainframe; and generating an environment-dependant query to retrieve the at least one parameter from a plurality of checked out files.
8. The method as in claim 1 , further comprising the step of authenticating the user requesting the report.
9. A system for managing at least one checked out file, comprising: a source control repository including at least one checked out file; a database including at least one parameter associated with the at least one checked out file; and a control management server for identifying the at least one checked out file, retrieving the at least one parameter associated with the at least one checked out file, and generating a report including the at least one parameter.
10. The system as in claim 9, further comprising means for presenting the report to a user.
11. The system as in claim 9, wherein the at least one parameter is selected from the group consisting of repository name, project name, state name, package group, package name, physical location of the checked out file, actual repository location of the file, date when the file was checked out, version, and creator.
12. The system as in claim 9, wherein the report is in XML format.
13. A set of computer-executable instructions for managing at least one checked out file, the computer-executable instructions comprising the steps of: identifying using a control management server the at least one checked out file of a source control repository; retrieving at least one parameter associated with the at least one checked out file, the at least one parameter stored in query database; generating a report including the at least one parameter; and presenting the report to a user.
14. The computer-executable instructions as in claim 13, wherein said instructions are stored on a computer-readable media, said media selected from a group consisting of magnetic media, optical media, read-only memory (ROM).
15. The computer-executable instructions as in claim 13, wherein said instructions are executable by a computer system comprising a processor, a random access memory (RAM), at least one user input device, a data storage device and a graphical display device.
16. The computer-executable instructions as in claim 13, wherein the at least one parameter is selected from the group consisting of repository name, project name, state name, package group, package name, physical location of the checked out file, actual repository location of the file, date when the file was checked out, version, and creator.
17. The computer-executable instructions as in claim 16, wherein the identifying step includes identifying at least one parameter to be retrieved by the user.
18. The computer-executable instructions as in claim 16, wherein the retrieving step includes retrieving a predetermined set of parameters.
19. The computer-executable instructions as in claim 13, further comprising the steps of identifying at least one of a server and mainframe; and generating an environment-dependant query to retrieve the at least one parameter from a plurality of checked out files.
20. The computer-executable instructions as in claim 13, further comprising the step of authenticating the user requesting the report.
PCT/US2006/007673 2005-03-02 2006-03-02 Method and system for file management of a source control management repository WO2006094216A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
US11/070,809 2005-03-02
US11/070,809 US7702661B2 (en) 2005-03-02 2005-03-02 Managing checked out files in a source control repository

Publications (2)

Publication Number Publication Date
WO2006094216A1 WO2006094216A1 (en) 2006-09-08
WO2006094216A9 true WO2006094216A9 (en) 2009-01-29

Family

ID=36589278

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/US2006/007673 WO2006094216A1 (en) 2005-03-02 2006-03-02 Method and system for file management of a source control management repository

Country Status (2)

Country Link
US (1) US7702661B2 (en)
WO (1) WO2006094216A1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9037597B2 (en) 2011-01-10 2015-05-19 International Business Machines Corporation Verifying file versions in a networked computing environment

Family Cites Families (58)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4558413A (en) * 1983-11-21 1985-12-10 Xerox Corporation Software version management system
US5787444A (en) * 1993-03-15 1998-07-28 International Business Machines Corp. Method and apparatus for maintaining revision contol of a set of objects within a data processing system
US5721919A (en) * 1993-06-30 1998-02-24 Microsoft Corporation Method and system for the link tracking of objects
JP3526595B2 (en) * 1993-10-29 2004-05-17 富士通株式会社 Information management mechanism
US5442786A (en) * 1994-04-28 1995-08-15 Bowen; Robert E. Method for recording user interaction with a computer database to generate reports
US5675802A (en) * 1995-03-31 1997-10-07 Pure Atria Corporation Version control system for geographically distributed software development
US6112024A (en) * 1996-10-02 2000-08-29 Sybase, Inc. Development system providing methods for managing different versions of objects with a meta model
US5930794A (en) * 1996-10-18 1999-07-27 Sagent Technologies, Inc. Database repository with deferred transactions
US5903897A (en) * 1996-12-18 1999-05-11 Alcatel Usa Sourcing, L.P. Software documentation release control system
JPH11143754A (en) * 1997-11-05 1999-05-28 Hitachi Ltd Version information and constitution information display method and device therefor, and computer readable recording medium for recording version information and constitution information display program
US6847384B1 (en) 1998-05-14 2005-01-25 Autodesk, Inc. Translating objects between software applications which employ different data formats
US6658626B1 (en) 1998-07-31 2003-12-02 The Regents Of The University Of California User interface for displaying document comparison information
US6480865B1 (en) 1998-10-05 2002-11-12 International Business Machines Corporation Facility for adding dynamism to an extensible markup language
US6275787B1 (en) * 1998-10-14 2001-08-14 Unisys Corp. Method for merging repository updates with incomplete work in progress
CA2255047A1 (en) 1998-11-30 2000-05-30 Ibm Canada Limited-Ibm Canada Limitee Comparison of hierarchical structures and merging of differences
US6279003B1 (en) 1998-12-22 2001-08-21 International Business Machines Corporation Self-describing multiple key format database index
US6560616B1 (en) 1999-03-26 2003-05-06 Microsoft Corporation Robust modification of persistent objects while preserving formatting and other attributes
US6938029B1 (en) * 1999-03-31 2005-08-30 Allan Y. Tien System and method for indexing recordings of observed and assessed phenomena using pre-defined measurement items
US6763499B1 (en) 1999-07-26 2004-07-13 Microsoft Corporation Methods and apparatus for parsing extensible markup language (XML) data streams
US6675353B1 (en) 1999-07-26 2004-01-06 Microsoft Corporation Methods and systems for generating XML documents
US6560620B1 (en) 1999-08-03 2003-05-06 Aplix Research, Inc. Hierarchical document comparison system and method
US6502112B1 (en) 1999-08-27 2002-12-31 Unisys Corporation Method in a computing system for comparing XMI-based XML documents for identical contents
WO2001065371A2 (en) * 2000-03-01 2001-09-07 Computer Associates Think, Inc. Method and system for updating an archive of a computer file
US6831668B2 (en) * 2000-04-03 2004-12-14 Business Objects, S.A. Analytical reporting on top of multidimensional data model
WO2002019171A1 (en) * 2000-08-30 2002-03-07 Environmental Information Systems, Inc. Materials analytical review and reporting system
US6904562B1 (en) 2000-08-31 2005-06-07 International Business Machines Corporation Machine-oriented extensible document representation and interchange notation
US8019807B2 (en) 2001-05-23 2011-09-13 Wireless Enterprise Solutions Technology Limited Method and system for communication between computer systems
US7702641B2 (en) 2001-06-04 2010-04-20 Oracle America, Inc. Method and system for comparing and updating file trees
US6904588B2 (en) 2001-07-26 2005-06-07 Tat Consultancy Services Limited Pattern-based comparison and merging of model versions
US6961760B2 (en) 2001-07-17 2005-11-01 International Business Machines Corporation Transforming data automatically between communications parties in a computing network
JP2005505039A (en) * 2001-09-28 2005-02-17 コムヴォールト・システムズ・インコーポレーテッド Apparatus and method for archiving objects in an information storage device
US6988093B2 (en) 2001-10-12 2006-01-17 Commissariat A L'energie Atomique Process for indexing, storage and comparison of multimedia documents
US6859810B2 (en) 2001-12-10 2005-02-22 Bea Systems, Inc. Declarative specification and engine for non-isomorphic data mapping
US6961732B2 (en) * 2001-12-18 2005-11-01 General Electric Company Web based process capability data collection and reporting system
EP1488345A1 (en) 2002-03-14 2004-12-22 Koninklijke Philips Electronics N.V. Automatic discovering of web services
AU2003207935A1 (en) 2002-03-14 2003-09-22 Koninklijke Philips Electronics N.V. Improved finding of tv anytime web services
US20040205509A1 (en) 2002-03-18 2004-10-14 Sun Microsystems, Inc. System and method for comparing parsed XML files
US7096421B2 (en) 2002-03-18 2006-08-22 Sun Microsystems, Inc. System and method for comparing hashed XML files
US7120652B2 (en) * 2002-04-25 2006-10-10 Sun Microsystems, Inc. Method, system and program for determining version of storage devices and programs indicated in the resource information installed in the computer system
US7437664B2 (en) 2002-06-18 2008-10-14 Microsoft Corporation Comparing hierarchically-structured documents
US7047488B2 (en) 2002-07-19 2006-05-16 Open Invention Network Registry driven interoperability and exchange of documents
IL166717A0 (en) 2002-08-26 2006-01-15 Computer Ass Think Inc Web services apparatus and methods
US7797450B2 (en) 2002-10-04 2010-09-14 Oracle International Corporation Techniques for managing interaction of web services and applications
US7162501B2 (en) 2002-11-26 2007-01-09 Microsoft Corporation Hierarchical differential document representative of changes between versions of hierarchical document
US7099902B2 (en) * 2002-12-13 2006-08-29 Sun Microsystems, Inc. Checkout and replace script
US7877399B2 (en) 2003-08-15 2011-01-25 International Business Machines Corporation Method, system, and computer program product for comparing two computer files
US7302444B1 (en) * 2003-08-15 2007-11-27 Microsoft Corporation System for designating grid-based database reports
US7596748B2 (en) 2003-09-12 2009-09-29 International Business Machines Corporation Method for validating a document conforming to a first schema with respect to a second schema
US20050060140A1 (en) 2003-09-15 2005-03-17 Maddox Paul Christopher Using semantic feature structures for document comparisons
US7370118B2 (en) 2004-02-04 2008-05-06 International Business Machines Corporation Methods, systems, and computer program products for dynamic inter-operability of nodes in service grids
US7603654B2 (en) 2004-03-01 2009-10-13 Microsoft Corporation Determining XML schema type equivalence
US7571196B2 (en) 2004-03-31 2009-08-04 Microsoft Corporation Type evolution
US7284190B2 (en) * 2004-07-15 2007-10-16 Microsoft Corporation Automatically generated compatibility reports
US7392471B1 (en) 2004-07-28 2008-06-24 Jp Morgan Chase Bank System and method for comparing extensible markup language (XML) documents
US7546526B2 (en) 2004-12-20 2009-06-09 Microsoft Corporation Efficient extensible markup language namespace parsing for editing
US7634758B2 (en) * 2005-03-02 2009-12-15 Computer Associates Think, Inc. System and method for backing up open files of a source control management repository
US7493347B2 (en) * 2005-06-02 2009-02-17 International Business Machines Corporation Method for condensing reported checkpoint log data
US9207933B2 (en) * 2006-10-10 2015-12-08 International Business Machines Corporation Identifying authors of changes between multiple versions of a file

Also Published As

Publication number Publication date
US20060200791A1 (en) 2006-09-07
WO2006094216A1 (en) 2006-09-08
US7702661B2 (en) 2010-04-20

Similar Documents

Publication Publication Date Title
US7580946B2 (en) Smart integration engine and metadata-oriented architecture for automatic EII and business integration
US8090754B2 (en) Managing relationships of heterogeneous objects
US8219974B2 (en) Enforcing legal holds of heterogeneous objects for litigation
US8296311B2 (en) Solution search for software support
CA2647584C (en) Search-based application development framework
US10346770B2 (en) Supplemental system for business intelligence systems
US7925616B2 (en) Report system and method using context-sensitive prompt objects
EP1412846B1 (en) Method and system for management of multiple network resources
US9361330B2 (en) System and method for consistent embedded search across enterprise applications with an enterprise crawl and search framework
US20090150906A1 (en) Automatic electronic discovery of heterogeneous objects for litigation
US20090150168A1 (en) Litigation document management
US7844612B2 (en) Method for pruning objects in a service registry and repository
US20060143144A1 (en) Rule sets for a configuration management system
US7725469B2 (en) System and program products for pruning objects in a service registry and repository
US7634758B2 (en) System and method for backing up open files of a source control management repository
US20020111840A1 (en) Method and apparatus creation and performance of service engagement modeling
US10942924B2 (en) LOB query performance via automatic inference of locator-less LOB by value semantics
US7702661B2 (en) Managing checked out files in a source control repository
US11770413B2 (en) Domain-independent resource security and management
Baklarz et al. DB2 Universal Database V8 for Linux, UNIX, and Windows Database Administration Certification Guide
L’Esteve Databricks
Claesson et al. Development of support web applications in. NET For Visit Technology Group
Bruggeman et al. Enhancing Business Intelligence via SQL Server 2005 Reporting Services
Matthews et al. Installing, Upgrading and Maintaining Oracle Applications 11i (Or, When Old Dogs Herd Cats-Release 11i Care and Feeding)
Husár Information System of the Crisis and Intervention Centre

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application
NENP Non-entry into the national phase

Ref country code: DE

NENP Non-entry into the national phase

Ref country code: RU

122 Ep: pct application non-entry in european phase

Ref document number: 06736918

Country of ref document: EP

Kind code of ref document: A1