Changeset 9831
- Timestamp:
- 04/19/08 03:39:08 (5 years ago)
- Location:
- lang/perl/Dist-Joseki/trunk
- Files:
-
- 1 added
- 6 modified
-
.shipit (modified) (1 diff)
-
Changes (modified) (1 diff)
-
Makefile.PL (modified) (1 diff)
-
bin/ptags (modified) (1 diff)
-
bin/ptags_sort (added)
-
lib/Dist/Joseki/Cmd/Command/tagcheck.pm (modified) (4 diffs)
-
tools/dotfiles/.bashrc (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
lang/perl/Dist-Joseki/trunk/.shipit
r9773 r9831 1 1 steps = ApplyYAMLChangeLogVersion, Manifest, DistTest, Commit, Tag, MakeDist, MyUploadCPAN, DistClean, Twitter 2 2 3 svk.tagpattern = //local/c pan/tags/Dist-Joseki-%v3 svk.tagpattern = //local/coderepos/lang/perl/Dist-Joseki/tags/Dist-Joseki-%v 4 4 5 5 twitter.config = ~/.twitterrc -
lang/perl/Dist-Joseki/trunk/Changes
r9773 r9831 14 14 - "Dist::Joseki::DistType::*: replaced fixed calls to 'perl' with calls to the 'current executable'" 15 15 - updated dotfiles 16 date: 2008-04-17T08:27:44Z 16 - '.shipit: fixed svk.tagpattern' 17 - Dist::Joseki::Cmd::Command::tagcheck now looks for svk.tagpattern in .shipit as well 18 - bin/ptags_sort sorts according to @INC order 19 - Makefile.PL now also requires ShipIt 20 - added bin/ptags_sort 21 date: 2008-04-18T18:27:22Z 17 22 tags: [] 18 23 version: 0.14 -
lang/perl/Dist-Joseki/trunk/Makefile.PL
r9773 r9831 20 20 requires 'Parse::CPAN::Packages'; 21 21 requires 'Perl::Version'; 22 requires 'ShipIt'; 22 23 requires 'Test::TAP::HTMLMatrix'; 23 24 requires 'Text::Diff'; -
lang/perl/Dist-Joseki/trunk/bin/ptags
r9773 r9831 34 34 # as well as installed system-wide; in this case you most likely want tags to 35 35 # point to the locally installed version. 36 # 37 # On the other hand, it might not matter anyway because if you sort the ptags 38 # file, the order of equal tags will depend on the sort order of the path. But 39 # see the ptags_sort program. 36 40 37 41 our @lib = grep { !/^\.+$/ } reverse @INC; -
lang/perl/Dist-Joseki/trunk/lib/Dist/Joseki/Cmd/Command/tagcheck.pm
r9773 r9831 4 4 use warnings; 5 5 use Dist::Joseki::SVK; 6 use ShipIt::Conf; 6 7 7 8 … … 22 23 'tagbase|b=s', 23 24 'depot path where tagged versions are', 24 { default => $cmd_config->{tagbase} },25 # no defaults here, they are more complicated. see get_tagbase() 25 26 ], 26 27 … … 30 31 { default => $cmd_config->{file} || 'Changes' }, 31 32 ], 33 34 [ 35 'verbose|v', 36 'be verbose', 37 { default => 0 }, 38 ], 32 39 ); 33 40 } 34 41 42 43 sub get_tagbase { 44 my $self = shift; 45 46 return $self->opt('tagbase') if defined $self->opt('tagbase'); 47 48 my $shipit_conf = ShipIt::Conf->parse('.shipit'); 49 my $tagbase = $shipit_conf->value('svk.tagpattern'); 50 if (defined $tagbase) { 51 52 # svk.tagpattern will be the complete pattern, but we need the tag 53 # base path. Usually it will be the last '/tags/' directory in the 54 # pattern, so let's try to be smart. 55 56 $tagbase =~ s!^(.*/tags)/.*$!$1!; 57 return $tagbase; 58 } 59 60 return $self->app->config->{tagcheck}; 61 } 35 62 36 63 sub run_single { … … 39 66 $self->SUPER::run_single(@_); 40 67 68 my $tagbase = $self->get_tagbase; 69 print "tagbase [$tagbase]\n" if $self->opt('verbose'); 70 41 71 my $svk = Dist::Joseki::SVK->new( 42 tag_base => $ self->opt('tagbase'),72 tag_base => $tagbase, 43 73 changes_filename => $self->opt('file'), 44 74 ); -
lang/perl/Dist-Joseki/trunk/tools/dotfiles/.bashrc
r9773 r9831 139 139 fi 140 140 141 sort -o $PTAGSFILE $PTAGSFILE 141 ptags_sort <$PTAGSFILE >$PTAGSFILE.sorted 142 mv $PTAGSFILE.sorted $PTAGSFILE 142 143 } 143 144
![(please configure the [header_logo] section in trac.ini)](/share/chrome/site/your_project_logo.png)