вторник, 2 сентября 2014 г.

Немножко про debian/changelog

Ну вот как-то так:

git log --pretty=oneline
git-dch --since=906b89e06e... (md5)
vim debian/changelog
git add debian/changelog
debcommit -r
git push --tags
git push

Схема не идеальная. Больше интересно то, кто как это делает?

Схема хороша тем, что начиная с некоторого коммита, все сообщения из последуюших коммитов автоматически добавляются в changelog. Потом его можно отредактировать и добавить новую версию в репозиторий.

1 комментарий:

  1. если про гит - то я как-то так )) :
    2383 [2014-06-19 20:18:36] vi destroy_vm.sh
    2384 [2014-06-19 20:23:31] git add destroy_vm.sh
    2385 [2014-06-19 20:23:55] git commit -m "destroy_vm added"
    2386 [2014-06-19 20:24:14] git push xenapi master
    2387 [2014-06-19 20:25:22] git add destroy_vm.sh
    2388 [2014-06-19 20:25:25] vi destroy_vm.sh
    2389 [2014-06-19 20:25:42] git add destroy_vm.sh
    2390 [2014-06-19 20:25:58] git commit -m "destroy_vm added -f to lvremove"
    2391 [2014-06-19 20:26:02] git push xenapi master
    2394 [2014-06-19 20:28:48] man git-stash
    2417 [2014-06-20 16:50:37] vi destroy_vm.sh
    2418 [2014-06-20 16:51:06] vi create_vm.sh
    2419 [2014-06-20 16:51:18] vi destroy_vm.sh
    2420 [2014-06-20 16:51:55] git add destroy_vm.sh
    2421 [2014-06-20 16:52:19] git commit -m "add delete of domain xml"
    2422 [2014-06-20 16:52:22] git push xenapi master
    2428 [2014-06-20 17:12:28] vi a
    2490 [2014-06-23 15:49:39] vi reboot_vm.sh
    2491 [2014-06-23 17:04:58] git add reboot_vm.sh
    2492 [2014-06-23 17:05:12] git commit -m "add file reboot_vm"
    2493 [2014-06-23 17:05:16] git push xenapi master
    2494 [2014-06-23 17:13:06] vi conf.sh
    2496 [2014-06-23 17:14:11] vi create_vm.sh
    2498 [2014-06-23 17:30:39] vi conf.sh
    2499 [2014-06-23 17:47:46] vi create_vm.sh
    2500 [2014-06-23 17:49:53] vi conf.sh
    2501 [2014-06-23 17:52:12] vi create_vm.sh
    2502 [2014-06-23 17:53:05] vi conf.sh
    2503 [2014-06-23 17:53:16] vi create_vm.sh
    2504 [2014-06-23 17:56:15] vi conf.sh
    2505 [2014-06-23 17:56:35] vi create_vm.sh
    2506 [2014-06-23 17:56:52] vi conf.sh
    2507 [2014-06-23 17:58:13] vi create_vm.sh
    2508 [2014-06-23 18:00:04] vi conf.sh
    2509 [2014-06-23 18:09:58] vi create_vm.sh
    2512 [2014-06-23 18:19:31] vi README.md
    2513 [2014-06-23 18:21:04] git commit -a -m "refactor conf, create - change commans to variables"
    2514 [2014-06-23 18:21:08] git push xenapi master
    2517 [2014-06-23 18:30:00] vi destroy_vm.sh
    2518 [2014-06-23 18:31:15] vi conf.sh
    2519 [2014-06-23 18:43:28] git commit -a -m "refactor conf,destroy - change commans to variables"
    2520 [2014-06-23 18:43:38] git push xenapi master
    2525 [2014-06-23 19:05:19] vi conf.sh
    2526 [2014-06-23 19:05:43] git commit -a -m "fix rm"
    2527 [2014-06-23 19:05:48] git push xenapi master
    2530 [2014-06-23 19:19:50] vi create_vm.sh
    2537 [2014-06-23 19:50:19] vi conf.sh
    2538 [2014-06-23 19:57:52] git commit -a -m "fix tar"
    2539 [2014-06-23 19:57:56] git push xenapi master
    2546 [2014-06-23 22:28:20] vi create_
    2547 [2014-06-23 22:28:24] vi create_vm.sh
    2555 [2014-06-24 10:44:56] vi create_vm.sh
    2556 [2014-06-24 10:47:43] vi conf.sh
    2557 [2014-06-24 10:52:32] vi create_vm.sh
    2558 [2014-06-24 10:54:49] vi conf.sh
    2559 [2014-06-24 10:55:59] vi README.md
    2560 [2014-06-24 11:04:15] vi create_vm.sh
    2561 [2014-06-24 11:06:30] vi README.md
    2562 [2014-06-24 11:07:21] git commit -a -m "add sudo on setup"
    2563 [2014-06-24 11:07:25] git push xenapi master
    2564 [2014-06-24 11:25:21] vi create_vm.sh
    2565 [2014-06-24 11:28:00] git commit -a -m "add check setup"
    2566 [2014-06-24 11:28:04] git push xenapi master

    если про дебиан - (( на федоре/центосе сижу

    ОтветитьУдалить