Commit Graph

148 Commits

Author SHA1 Message Date
Vladimir Sharshov 06421dbdec Merge pull request #714 from warpc/90-fix_orphan_pulls
[refs #90] fixed orphan pulls
2012-11-12 02:34:21 -08:00
Alexander Machehin 1a1a0ebb30 remove cooker from import task 2012-11-12 16:02:23 +06:00
Alexander Machehin f2ccc90a4c [refs #90] fix task 2012-11-09 21:01:22 +06:00
Alexander Machehin 726aee49ff [file-store-4] remove archives in the srpm import 2012-11-09 20:14:26 +06:00
Alexander Machehin 0d893c4b20 [file-store-4] rename task file && remove abf.yml check && some optimize 2012-11-06 21:54:24 +06:00
Alexander Machehin eabb47c580 [file-store-4] do copyback repos by default 2012-11-05 17:13:50 +06:00
Alexander Machehin 0246b1f5bf [file-store-4] some fixes 2012-11-05 16:38:29 +06:00
Alexander Machehin 03cb24fb9f [file-store-4] modify uploading script 2012-11-02 23:45:40 +06:00
Alexander Machehin 345e4f698b Merge branch 'master' into file-store-4_git_task
Conflicts:
	Gemfile
2012-11-02 23:08:38 +06:00
Alexander Machehin 576cec527e fix mistake 2012-10-28 09:54:23 +06:00
Alexander Machehin c6a0dfee97 [refs #90] fixed orphan pulls 2012-10-28 00:04:28 +06:00
Alexander Machehin 7ad1a82876 [refs #700] fix fork && repare task 2012-10-18 20:34:32 +06:00
Alexander Machehin dfbf8a8d58 Merge branch 'master' into 90-pull
Fucking conflicts:
	app/controllers/projects/issues_controller.rb
	app/models/ability.rb
	app/views/projects/issues/show.html.haml
	config/routes.rb
	db/schema.rb
	lib/tasks/import.rake
	spec/models/comment_for_commit_spec.rb
	vendor/assets/javascripts/bootstrap-tab.js
	vendor/assets/stylesheets/bootstrap.css
2012-09-25 17:55:30 +06:00
Pavel Chipiga d34c79aabe Fix add_branch script. Refs #112 2012-09-19 19:32:53 +03:00
Pavel Chipiga faafd7a5dc Merge branch 'master' into file-store-4_git_task 2012-09-18 22:02:37 +03:00
Pavel Chipiga 2db88d90f3 Remove branch if alredy exists during branch fork action. Refs #112 2012-09-17 13:09:30 +03:00
Vladimir Sharshov ff20c0b199 Merge pull request #622 from warpc/620-maintainer_db
[refs #620] Maintainer DB
2012-08-31 11:50:02 -07:00
Alexander Machehin 6a50e18932 [refs file-store-4] one more check 2012-08-31 11:02:58 +06:00
Alexander Machehin e0c25563f0 [refs file-store-4] small refactoring 2012-08-31 10:59:40 +06:00
Alexander Machehin 1e84da0057 [refs file-store-4] git task 2012-08-31 00:49:42 +06:00
Vladimir Sharshov f8b39af7d3 Change destination for rhel package auto import from testhat to server group 2012-08-29 01:04:00 +04:00
George Vinogradov f688985814 [issue #620] Changed maintainer assignment.
*  Added `project:maintainer:set_to_owner` task to set projects maintainer
     to its owner
  *  Removed callbacks and methods to find maintainer 'on-the-fly'
2012-08-28 01:12:53 +04:00
Pavel Chipiga 5a43550282 Refactor add_branch task and add list based branch forking. Refs #112 2012-08-27 19:01:59 +03:00
George Vinogradov 2fbb72e537 [issue #620] Changes in Maintainer db:
*  Added maintainer selection on project page (see TODO in sources);
  *  Added `actual` field to BuildList::Package;
  *  Added rake task to set BuildList::Package.actual field.
     Run it after migration (see TODO in sources);
  *  Packages after publising of BuildList becomes actual;
  *  Added MaintainerPresenter to avoid long method chains.
2012-08-24 19:21:24 +04:00
Pavel Chipiga 77ff4e71e8 Improve import sync script to work with EPEL ang RHEL repositories. Refs #112 2012-08-15 16:58:17 +03:00
Alexander Machehin c1c9f9680e [refs #90] remove code duplication 2012-08-10 22:40:09 +06:00
Alexander Machehin 818698f320 Merge branch 'master' into 90-pull
Conflicts:
	lib/tasks/import.rake
2012-08-09 00:16:36 +06:00
Pavel Chipiga 6dad9d8804 Add srpm release to version comparison and commit message. Redo logging to simplify parsing. Refs #112 2012-08-07 23:23:30 +03:00
Alexander Machehin a316105e9c Merge branch 'master' into 90-pull
Conflicts:
	db/schema.rb
2012-08-07 18:21:04 +06:00
Vladimir Sharshov ffb6d5964e [refs #604] Fix typo 2012-08-07 01:15:55 +04:00
Vladimir Sharshov 30efe134ef [refs #604] Remove old and empty mass builds 2012-08-07 01:07:54 +04:00
Alexander Machehin 6a04f4ad7a Merge again branch 'master' into 90-pull
Conflicts:
	db/schema.rb
2012-08-06 11:19:06 +06:00
Pavel Chipiga 80d69a9248 Improve srpm import script for processing projects which already exists. Refs #112 2012-08-03 13:31:50 +03:00
Alexander Machehin 25bdbb01d6 [refs #90] project fullname 2012-07-27 18:52:31 +06:00
Pavel Chipiga 611b22baa5 Update gems, fix conflicts. Raise 404 error instead of redirect. Refactor git controllers. Refactor git methods, move to modules. Cleanup git helpers, refactor and remove unused variables from views, refactor git templates. Refactor project load. Refactor git routes and links, refactor constraints. Fix branches with slashes and dots. Apply github linguist and libmagic for binary file detection. Other refactor and code cleanup. Fix specs and deprecations. Refs #263 2012-07-17 11:02:56 +03:00
Pavel Chipiga d3e89393a8 Stop resque workers through rake. Refs #543 2012-06-29 16:09:06 +03:00
Pavel Chipiga cb8345a207 Rename and separate queues. Refs #510 2012-06-18 17:16:53 +03:00
Pavel Chipiga b47b4ec075 Update rails and gems. Redo resque jobs enqueue and perform through plugins. Redo emails async sending. Redo hook process. Refactor and code cleanup. Refs #510 2012-06-16 21:27:46 +03:00
konstantin.grabar f37e0e54a3 [refs #510] Replace dj with resque 2012-06-09 16:52:29 +04:00
Pavel Chipiga b0073381e8 Add run example. Refs #112 2012-06-08 21:01:33 +03:00
Pavel Chipiga 63c50aee7b Apply task for sprm import. Refs #112 2012-06-08 20:19:19 +03:00
konstantin.grabar 314506cc76 [refs #438] Add lst files moves to rake task 2012-05-17 10:48:42 +04:00
konstantin.grabar 208310e83b [refs #438] Add rake task to symlink migrate. Change rsync stubs 2012-05-16 17:01:25 +04:00
George Vinogradov b74dd01262 [issue #430] Changed task 2012-05-11 22:00:27 +04:00
George Vinogradov 1a9f529152 [issue #430] Added rake task to remove outdated BuildLists. 2012-05-11 21:44:19 +04:00
Alexander Machehin f4b3a4275a [refs #263] some hook task improvement 2012-04-03 01:30:14 +06:00
Alexander Machehin 5a384c6846 [refs #263] added dj queues 2012-04-03 01:29:06 +06:00
Pavel Chipiga cacd9eb301 Improve add_branch task. Fix projects list JSON generation. Refs #207, #279 2012-03-24 00:48:58 +02:00
Alexander Machehin 64aec8db64 [refs #265] remove existing hook when install from task 2012-03-19 15:39:14 +06:00
Pavel Chipiga a78b7b4155 Merge branch 'master' into 3.2-master 2012-03-11 23:39:11 +02:00
Pavel Chipiga f6a91ec006 Fix rake task. Refs #282 2012-03-08 01:47:48 +02:00
Pavel Chipiga 41ae79eb46 Add configurable arch parameter to project build_for method. Write rake task for projects build. Refs #282 2012-03-08 01:25:17 +02:00
Alexander Machehin 4f995ca548 [refs #265] hook mode 775 -> 755 2012-03-06 15:39:23 +06:00
Alexander Machehin de0f7c83c8 [refs #265] fix hook and add execute bit for it 2012-03-06 15:07:14 +06:00
Pavel Chipiga bda978a306 Fix bug with group autocomplete. Do not delete during rsync 2012-02-24 17:27:49 +02:00
Pavel Chipiga a2a29e2baa Rescue and ignore timeout error during long XML RPC. Apply add_branch script. Refs #207 2012-02-23 17:17:02 +02:00
Alexander Machehin c55158a892 [refs #134] some hook task improvements 2012-02-17 15:22:55 +06:00
Alexander Machehin a5375c369c [refs #134] lost env! 2012-02-16 22:29:41 +06:00
Alexander Machehin a8f507737f [refs #134] rails root 2012-02-15 19:06:25 +06:00
Alexander Machehin fbaa9949df [refs #134] clean 2012-02-15 17:23:49 +06:00
Alexander Machehin 20836e8864 [refs #134] fixed git hook 2012-02-15 17:12:49 +06:00
Pavel Chipiga fde298cc85 Rollback to redhillonrails_core instead of schema_plus to avoid some bugs. Add platform reference to project_imports, change indexes and validators. Adjust sync algoritm to use platform_id. Improve rsync params. Refs #112, #138 2012-01-31 20:48:37 +02:00
Pavel Chipiga 33dce21312 Upgrade to ruby 1.9.3 and fix bugs. Fix bug with commit_hash save during project build. Move some russian text to yml. Code cleanup. Fix templates, deploy and import scripts. Fix specs. Translate event_logs. Refs #95 2012-01-30 22:36:58 +02:00
Pavel Chipiga 95b566dc10 Bugfix. Refs #112 2012-01-28 06:22:29 +02:00
Pavel Chipiga 43a4aecc66 Change indexes to composite, unique, case insensitive. Redo sync logging. Verbose params for tasks. Refs #112 2012-01-28 04:05:31 +02:00
Pavel Chipiga fab4aa6eb6 Refactor and fix projects by_name scope. Apply case insensitive projects, repositories and platforms name uniqness validation. Apply case insensitive project search fallback. Redirect import task outnput to log file. Rename all task. Refs #112 2012-01-28 03:04:11 +02:00
Pavel Chipiga 74f891fc83 Apply rsync for mandriva repo. Parse and import changes from official repo. Fix attachment types. Redo srpm upload wrapper to use it without paperclip. Add cron task through whenever. Refs #112 2012-01-27 17:35:18 +02:00
Vladimir Sharshov c13bd0432f Emergency fix for imports 2012-01-23 18:52:42 +04:00
Pavel Chipiga aceccae830 Add source as input param. Refs #1 2011-12-13 15:27:14 +02:00
Pavel Chipiga 572a7b1e9c Redo import script. Refs #1 2011-12-13 15:10:01 +02:00
Vladimir Sharshov 59a90e6136 Test sudo options 2011-12-07 01:26:44 +04:00
Pavel Chipiga a3915c2085 Fix import script. Refs #2261 2011-12-05 22:44:38 +02:00
Pavel Chipiga 37e7f757d9 Benchmark nginx upload module and save docs/configs. Turn off upload module temporary. Replace passenger to unicron, tune. Remove compass dependency to avoid deprecation message. Remove rake deprecation message. Tune import script. Refs #2261 2011-12-05 20:28:55 +02:00
Pavel Chipiga 0d985ded6f Adjust projects import script to new source. Test. Refs #2261 2011-11-30 22:06:54 +02:00
konstantin.grabar 148a0fec28 [refs #2249] Global name to description and unixname to name renames 2011-11-29 14:51:14 +04:00
Pavel Chipiga 141fe7677f Apply project fork button. Refactor and cleanup code. Refs #2243 2011-11-23 17:52:33 +02:00
Pavel Chipiga 165b146787 Improve grack wrapper. Fix settings to work in production. Code cleanup. Refs #2243, #2261 2011-11-22 20:14:27 +02:00
Pavel Chipiga 1cbd725e14 Fix mailer domains. Fix projects import script. Refs #2261 2011-11-22 15:01:33 +02:00
Pavel Chipiga ce60f7b057 Generate files for easy_urpmi during platform mount. Improve nd refactor auth module for grack, apply cancan. Adapt project import script to new source file. Fix bugs. Refactor. Refs #2261, #2243 2011-11-21 14:59:23 +02:00
Pavel Chipiga 3b36943b91 Remove gitolite and it callbacks. Add git repo create, destroy callbacks. Improve grack wrappers: separate read/write requests, ask password for push even for public repo, prepare for cancan, apply hooks, refactor. Fix auto_build_lists order. Refactor auto_build - move to model. Redo git_repo_url. Improve and test project import script. Fix bugs, refactor and cleanup. Refs #2243 2011-11-17 23:57:30 +02:00
George Vinogradov dee94bf751 fixed bug in rights generator 2011-11-02 00:48:49 +04:00
Pavel Chipiga 4b7920decc Fix deprecation. Extend project unixname validation regexp. Add rollback callbacks to avoid core polution. Increase git timeout. Improve import script. Refs #2162 2011-10-30 14:55:44 +02:00
Pavel Chipiga d656b93684 Import projects rake task. Refs #2162 2011-10-30 00:59:17 +03:00
George Vinogradov 504466c82d fixed rake task 2011-10-28 18:04:09 +04:00
George Vinogradov 5b8f567d4b User and Group creates with default role. Rake task 'roles:apply' to apply default
roles
2011-10-28 17:10:29 +04:00
George Vinogradov 1523aea781 Added roles:load task. 2011-10-26 04:35:49 +04:00
George Vinogradov 82d72a851c ACL for testing. 2011-10-24 01:39:44 +04:00
Timothy N. Tsvetkov ec0186a489 minor 2011-04-28 11:32:46 +04:00
Timothy N. Tsvetkov d176fff576 more for project migrator 2011-04-27 19:35:35 +04:00
Timothy N. Tsvetkov aade5b1031 more verbose for project migrator 2011-04-27 19:30:12 +04:00
Timothy N. Tsvetkov b532332d1d migrate repos: finishing 2011-04-27 19:14:52 +04:00
Timothy N. Tsvetkov af5f34979d migrate repos: fix 2011-04-27 19:11:32 +04:00
Timothy N. Tsvetkov 078b5c6f80 migrate repost: more 2011-04-27 19:09:18 +04:00
Timothy N. Tsvetkov cdda25fb24 migrate repost +debug fixes 2011-04-27 18:56:55 +04:00
Timothy N. Tsvetkov 32a4fae18a migrate repost +debug fixes 2011-04-27 18:55:23 +04:00
Timothy N. Tsvetkov de735f9637 migrate repost +debug 2011-04-27 18:38:59 +04:00
Timothy N. Tsvetkov 913636d38d doing migrate repos 2011-04-27 18:21:26 +04:00
Alexey Nayden eae3c46912 Initial commit 2011-03-09 16:13:36 +03:00