JPH0683596A - Program version management system - Google Patents

Program version management system

Info

Publication number
JPH0683596A
JPH0683596A JP4102581A JP10258192A JPH0683596A JP H0683596 A JPH0683596 A JP H0683596A JP 4102581 A JP4102581 A JP 4102581A JP 10258192 A JP10258192 A JP 10258192A JP H0683596 A JPH0683596 A JP H0683596A
Authority
JP
Japan
Prior art keywords
version
source program
program
date
version management
Prior art date
Legal status (The legal status 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 status listed.)
Pending
Application number
JP4102581A
Other languages
Japanese (ja)
Inventor
Shinji Kikuchi
伸治 菊地
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
NEC Corp
Original Assignee
NEC Corp
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 NEC Corp filed Critical NEC Corp
Priority to JP4102581A priority Critical patent/JPH0683596A/en
Publication of JPH0683596A publication Critical patent/JPH0683596A/en
Pending legal-status Critical Current

Links

Landscapes

  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
  • Stored Programmes (AREA)

Abstract

PURPOSE:To provide the version management system for a program in which the past state of the program is easily reproduced, the procedure for bug analysis is facilitated and the capacity of the storage medium attended with the version management is saved. CONSTITUTION:When a write instruction (a) for version management is publicated while an editer 1 is being started, a version manager 4 is started. The version manager 4 compares a content of a current source program 2 with a content of a temporary file 3 being generated and writes revised parts to a version management database 7 together with revised date information 5 and version number information 6. Then the content of the temporary file 3 is overwritten onto the current version source program 2. When the past state of the program is reproduced, a date parameter (c) or a version number parameter (d) is designated to start a source generator 8. The source generator 8 generates a relevant temporary source program 9 from the current version source program 2 and the version management database 7.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明はプログラムのバージョン
管理方式に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a program version management system.

【0002】[0002]

【従来の技術】従来のプログラムのバージョン管理方式
は、図2のブロック図に示すように、ソースプログラム
11の名称を索引として管理する管理ファイル12に
は、ソースプログラム11の所属ディレクトリとファイ
ルエントリとファイル名称と共に、版数情報13および
最終更新日付14が書き込まれており、この状態で、エ
ディタ5を起動すると、まず、指定されたソースプログ
ラム11を参照して、ソースプログラム11と同じ内容
を持つテンポラリファイル16を作成する。次に、エデ
ィタ5の起動中は、プログラムの作成を行い、修正処理
の結果をテンポラリファイル16に書き込む。ここで、
エディタ15の起動中に書き込み命令aを発行すると、
テンポラリファイル16の内容をソースプログラム11
に上書きする。その際、管理ファイル12に書き込まれ
ていた版数情報13は、バージョンを1版上げ、最終更
新日付14を最新の日付として、管理ファイル12に上
書きする。
2. Description of the Related Art In a conventional program version management system, as shown in the block diagram of FIG. 2, a management file 12 that manages the name of a source program 11 as an index includes a directory to which the source program 11 belongs and a file entry. The version number information 13 and the last update date 14 are written together with the file name. When the editor 5 is started in this state, first, the designated source program 11 is referred to and the same contents as the source program 11 are obtained. The temporary file 16 is created. Next, while the editor 5 is being activated, a program is created and the result of the correction processing is written in the temporary file 16. here,
If the write command a is issued while the editor 15 is running,
The contents of the temporary file 16 are the source program 11
To overwrite. At that time, the version number information 13 written in the management file 12 is overwritten in the management file 12 by increasing the version by one and using the last update date 14 as the latest date.

【0003】上述のように従来のプログラムのバージョ
ン管理方式は、ソースプログラム11の所属ディレクト
リとファイルエントリとファイル名称とと共に、版数情
報13および最終更新日付14が書き込まれている管理
ファイル12を含んで構成される。
As described above, the conventional program version management system includes the management file 12 in which the version number information 13 and the last update date 14 are written together with the directory to which the source program 11 belongs, the file entry, and the file name. Composed of.

【0004】[0004]

【発明が解決しようとする課題】上述した従来のプログ
ラムのバージョン管理方式は、版数情報および最終更新
日付を管理記録しているが、ソースプログラムの変更箇
所の情報は管理していない。このため、ソースプログラ
ムの過去の状態を再現しようとしてもできない。従っ
て、特定の版数を故意に保存しようとする場合は、前述
のソースプログラムのプログラム名称を変更して、同じ
内容を持つ別のソースプログラムとして丸々保存しなけ
ればならず、記憶量の増加と共に管理上非常に煩わしい
という問題点がある。又、ソースプログラムの変更箇所
の情報を管理していないことから、バグ解析時に、容易
に以前の状態を再現出来ないので、解析処理が煩雑化す
るというという問題点もある。
The above-mentioned conventional program version management system manages and records version number information and the last update date, but does not manage information about the changed portion of the source program. Therefore, it is impossible to reproduce the past state of the source program. Therefore, if you want to intentionally save a specific version number, you have to change the program name of the above source program and save it as another source program with the same contents. There is a problem that it is very troublesome in management. Further, since the information on the changed portion of the source program is not managed, the previous state cannot be easily reproduced at the time of bug analysis, which causes a problem that analysis processing becomes complicated.

【0005】本発明の目的は、過去のプログラムの状態
を容易に再現でき、バグ解析の手続きが容易となると共
に、バージョン管理に伴う記憶媒体の容量が節約できる
プログラムのバージョン管理方式を提供することにあ
る。
It is an object of the present invention to provide a version management system of a program which can easily reproduce past program states, facilitate a bug analysis procedure, and save the storage medium capacity associated with version management. It is in.

【0006】[0006]

【課題を解決するための手段】本発明のプログラムのバ
ージョン管理方式は、現在使用中の版数のソースプログ
ラムの内容をエディタで変更し版数が増加した新規のソ
ースプログラムを記憶すると共に前記新規のソースプロ
グラムの所属ディレクトリとファイルエントリとファイ
ル名称と共に版数情報および最終更新日付を記憶して管
理するプログラムのバージョン管理方式において、現在
使用中の版数のソースプログラムの内容とこれを変更し
版数が増加した新規のソースプログラムの内容とを比較
し変更箇所を抽出し日付および版数管理を行うバージョ
ンマネージャと、前記変更箇所を記憶するバージョン管
理データベースと、日時および版数の少なくともいずれ
か一方の指定を受けこの時点で使用中のソースプログラ
ムおよび前記バージョン管理データベースの記憶内から
前記指定を受けた日時および版数のソースプログラムを
再現するソースジェネレータとを含む構成である。
According to the program version management method of the present invention, the contents of a source program of the version currently in use are changed by an editor to store a new source program whose version number has increased, and the new version is stored. In the version management method of the program that stores and manages the version number information and the last update date together with the directory and file entry and the file name of the source program, the contents of the source program of the version currently in use and the version changed A version manager that compares the contents of the new source program whose number has increased to extract changes and manages the date and version number; a version control database that stores the changes and at least one of date and time and version number The source program currently in use at this point and the above-mentioned bar ® is a configuration in which the emission management within storage database and a source generator to reproduce the date and the version number of the source program which has received the designation.

【0007】[0007]

【実施例】次に、本発明の実施例について図面を参照し
て説明する。
Embodiments of the present invention will now be described with reference to the drawings.

【0008】図1は本発明の一実施例のブロック図であ
る。
FIG. 1 is a block diagram of an embodiment of the present invention.

【0009】本発明のプログラムのバージョン管理方式
は、まずエディタ1を起動すると、現在使用中の版数の
ソースプログラム(以下現版ソースプログラムと記す)
2を参照し、現版ソースプログラム2と同一内容をもつ
テンポラリファイル3を作成する。この状態で行われた
ソースプログラムの作成および修正の結果は、テンポラ
リファイル3に書き込まれる。エディタ1の起動中に、
バージョン管理の書き込み命令aを発行すると、エディ
タ1は、バージョンマネージャ4を起動するコマンドb
を発行する。コマンドbを受けたバージョンマネージャ
4は、起動後、現版ソースプログラム2の内容とテンポ
ラリファイル3の内容とを比較し、変更箇所を更新日情
報5と版数情報6と共に、バージョン管理データベース
7に書き込む。その後、バージョンマネージャ4は、テ
ンポラリファイル3の内容を現版ソースプログラム2に
上書きする。
In the program version management system of the present invention, when the editor 1 is first started, the source program of the version currently in use (hereinafter referred to as the current version source program)
2, the temporary file 3 having the same contents as the current version source program 2 is created. The result of creation and modification of the source program performed in this state is written in the temporary file 3. While the editor 1 is running,
When the write command a for version management is issued, the editor 1 issues a command b for starting the version manager 4.
To issue. The version manager 4 receiving the command b compares the contents of the current version source program 2 with the contents of the temporary file 3 after starting, and stores the changed parts in the version management database 7 together with the update date information 5 and version number information 6. Write. After that, the version manager 4 overwrites the contents of the temporary file 3 on the current version source program 2.

【0010】プログラムの過去の状態を再現する場合
は、ソースジェネレータ8を起動し、同時に、日付パラ
メータcおよび版数パラメータdの少なくともいずれか
一方を指定する。その後、ソースジェネレータ8は、現
版ソースプログラム2およびバージョン管理データベー
ス7の記憶内から、指定を受けた日時および版数のソー
スプログラム2を再現するとバージョン管理データベー
ス7から、指定された日付パラメータc、もしくは版数
パラメータdに相当するテンポラリソースプログラム9
を作成する。
To reproduce the past state of the program, the source generator 8 is started and at the same time, at least one of the date parameter c and the version number parameter d is specified. After that, the source generator 8 reproduces the specified date and time and the version of the source program 2 from the storage of the current version source program 2 and the version management database 7, and the specified date parameter c, from the version management database 7, Alternatively, the temporary resource program 9 corresponding to the version number parameter d
To create.

【0011】[0011]

【発明の効果】以上説明したように、本発明は、現在使
用中の版数のソースプログラムの内容とこれを変更し版
数が増加した新規のソースプログラムの内容とを比較し
変更箇所を抽出し日付および版数管理を行うバージョン
マネージャと、変更箇所を記憶するバージョン管理デー
タベースと、日時および版数の少なくともいずれか一方
の指定を受けこの時点で使用中のソースプログラムおよ
びバージョン管理データベースの記憶内から指定を受け
た日時および版数のソースプログラムを再現するソース
ジェネレータとを含むことにより、過去のプログラムの
状態を容易に再現でき、バグ解析の手続きが容易となる
と共に、バージョン管理に伴う記憶媒体の容量が節約で
きるという効果が有る。
As described above, according to the present invention, the contents of the source program of the version number currently in use are compared with the contents of the new source program of which the version number is increased by changing the contents, and the changed portion is extracted. The version manager that manages the date and version number, the version management database that stores the changed parts, and the storage of the source program and the version management database that are in use at this point when at least one of date and version is specified By including a source generator that reproduces the source program with the date and time and the version number specified by, the past program state can be easily reproduced, the bug analysis procedure can be facilitated, and the storage medium associated with version management There is an effect that the capacity of can be saved.

【図面の簡単な説明】[Brief description of drawings]

【図1】本発明の一実施例のブロック図である。FIG. 1 is a block diagram of an embodiment of the present invention.

【図2】従来のプログラムのバージョン管理方式のブロ
ック図である。
FIG. 2 is a block diagram of a conventional program version management system.

【符号の説明】[Explanation of symbols]

1 エディタ 2 現在使用中の版数のソースプログラム(現版ソー
スプログラム) 3 テンポラリファイル 4 バージョンマネージャ 5 更新日情報 6 版数情報 7 バージョン管理データベース 8 ソースジェネレータ 9 テンポラリソースプログラム a 書き込み命令 b コマンド c 日付パラメータ d 版数パラメータ
1 Editor 2 Source program of current version (current version source program) 3 Temporary file 4 Version manager 5 Update date information 6 Version information 7 Version control database 8 Source generator 9 Temporary resource program a Write command b Command c Date Parameter d Version parameter

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】 現在使用中の版数のソースプログラムの
内容をエディタで変更し版数が増加した新規のソースプ
ログラムを記憶すると共に前記新規のソースプログラム
の所属ディレクトリとファイルエントリとファイル名称
と共に版数情報および最終更新日付を記憶して管理する
プログラムのバージョン管理方式において、現在使用中
の版数のソースプログラムの内容とこれを変更し版数が
増加した新規のソースプログラムの内容とを比較し変更
箇所を抽出し日付および版数管理を行うバージョンマネ
ージャと、前記変更箇所を記憶するバージョン管理デー
タベースと、日時および版数の少なくともいずれか一方
の指定を受けこの時点で使用中のソースプログラムおよ
び前記バージョン管理データベースの記憶内から前記指
定を受けた日時および版数のソースプログラムを再現す
るソースジェネレータとを含むことを特徴とするプログ
ラムのバージョン管理方式。
1. A new source program whose version number has been increased by changing the contents of the source program of the version currently in use with an editor is stored, and the version is stored together with the directory, file entry and file name to which the new source program belongs. In the version control method of the program that stores and manages the number information and the last update date, compare the contents of the source program of the version currently in use with the contents of the new source program that has been changed to increase the version number. A version manager that extracts the changed portion and manages the date and version number, a version management database that stores the changed portion, a source program that is in use at this point when at least one of date and time and version number is specified, and the The date and time when the above designation was received from the version control database And a version generator for reproducing a version number of the source program.
JP4102581A 1992-04-22 1992-04-22 Program version management system Pending JPH0683596A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP4102581A JPH0683596A (en) 1992-04-22 1992-04-22 Program version management system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP4102581A JPH0683596A (en) 1992-04-22 1992-04-22 Program version management system

Publications (1)

Publication Number Publication Date
JPH0683596A true JPH0683596A (en) 1994-03-25

Family

ID=14331199

Family Applications (1)

Application Number Title Priority Date Filing Date
JP4102581A Pending JPH0683596A (en) 1992-04-22 1992-04-22 Program version management system

Country Status (1)

Country Link
JP (1) JPH0683596A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0926905A (en) * 1995-07-13 1997-01-28 Chubu Nippon Denki Software Kk File updating management system
CN112287658A (en) * 2020-11-03 2021-01-29 深圳壹账通智能科技有限公司 Business data processing method and device, electronic equipment and medium

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0926905A (en) * 1995-07-13 1997-01-28 Chubu Nippon Denki Software Kk File updating management system
CN112287658A (en) * 2020-11-03 2021-01-29 深圳壹账通智能科技有限公司 Business data processing method and device, electronic equipment and medium

Similar Documents

Publication Publication Date Title
US5778389A (en) Method and system for synchronizing computer file directories
JPH04186447A (en) Directory management system
JPH0683596A (en) Program version management system
JPH0588957A (en) Directory format
JP2624170B2 (en) Logical deletion data physical deletion method
JPH0394377A (en) Map file updating system
US20080077738A1 (en) Storing and Reading of Data from a Memory Medium
JP2822869B2 (en) Library file management device
JPH03166634A (en) Information recording/reproducing system
JP3178671B2 (en) File system and its file recovery method
JPH03216743A (en) Parallel saving system for data base
JPH0744426A (en) File management method for file system
JP3497053B2 (en) Processing method in online database management system and online database management system
JPH11224216A (en) System file history management system and record medium recording the system
JPH0651959A (en) Software installing method
JPH02132516A (en) System and method for write enable type optical disk controlling
JPH0644117A (en) Journal control system for recovery
JPH0896046A (en) Form format storing method
JPH04336638A (en) Disk exchange system in system working mode
JPH0773086A (en) Time sequential data holding system
JPH02242473A (en) Storage control method
JPH02196349A (en) File generation management system
JPS63311451A (en) Access system for low-speed access medium incapable of rewriting
JPH0283882A (en) Data editing device
JPH04299427A (en) Dynamic addition/deletion system for schedule

Legal Events

Date Code Title Description
A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20000321