Home Communication board WiKi Get Quote

Devkit

Вкратце. Данный инструмен предназначен для облегчения разработки. Он позволяет запоминать текущее состояние кода и mysql базы и в последующем создавать отчет об изменениях в формате патча.

Для корректной работы необходимо создать файл настроек проекта: devkit.set.<проект>.php. Будет проще если “проект” в названии будет совпадать с директорией проекта (в случае если будет 20 проектов и необходимо будет внести изменения в файл настроек). В файле настроек необходимо указать директорию проект и его базу.

Note: В devkit.set.php находятся общие настройки, возможно их надо изменить под свой профайл. особенно обратить внимание на

$sets["developer"] 
$sets["sqluser"] 

Описание

This DEVelompent KIt (abbreviated as “DEVKIt”) allows to create file system/sql dumps and then to compare the created dump with the current file system/sql status.

  • checkpoint creation ([files+sql]*N times)
  • ability to include an additional “sets” file: just create files like devkit.sets.xxx.php and define the necessary values in it, i.e. values that differ from those in the default “sets” file
  • diff creation (files+sql)
  • automatic comments insertion…
  • task report creation (patch.diff, patch.sql, added and changed files, instructions, all required reports)
  • ability to store developed modifications
  • sql/passthru console
  • different kinds of download features…

Quick start…

 1. copy devkit.php, devkit.sets.php and patch.pl (please, make sure that partch.pl has 755 permissions)
 2. configure DEVKIt modifying devkit.sets.php
 3. execute DEVKIt in www
 4. check our settings in the config/sets menu
 5. go to checkpoint:file; click on [make checkpoint] - filesystem dump has been created...
 6. go to checkpoint:sql; click on [make checkpoint] - sql dump has been created...
 7. perform a modification... :D
 8. execute DEVKIt in www
 9. go to diff:file; click on [make diff] - filesystem diff has been created...
10. go to diff:sql; click on [make diff] - sql diff has been created...
11. go to diff:report; click on [make report] - task report has been created; check it and post to XB... ;) 
 
Home About us Privacy statement Terms & Conditions Refund policy © 2007–2024 ArsCommunity