Changeset 200 for trunk/project-meta
- Timestamp:
- Apr 28, 2018, 9:03:07 AM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/project-meta/project-meta
r199 r200 3 3 # 2018/01/17 Gabriel Moreau <Gabriel.Moreau(A)univ-grenoble-alpes.fr> 4 4 # 5 # apt-get install yamllint libyaml-syck-perl libtemplate-perl libarchive-zip-perl 5 # apt-get install libyaml-syck-perl libtemplate-perl libarchive-zip-perl 6 # apt-get install yamllint libyaml-shell-perl # check YAML files 6 7 7 8 use strict; 8 9 use warnings; 9 use version; our $VERSION = version->declare('0.0. 5');10 use version; our $VERSION = version->declare('0.0.6'); 10 11 11 12 use File::Copy qw(copy); … … 89 90 project-meta remove-link 90 91 project-meta make-zip 92 project-meta list-licence 93 project-meta make-licence 91 94 project-meta make-author 92 project-meta make-licence93 95 project-meta make-copyright 94 project-meta make-licence95 project-meta list-licence96 96 END 97 97 } … … 371 371 project-meta remove-link 372 372 project-meta make-zip 373 project-meta list-licence 374 project-meta make-licence 373 375 project-meta make-author 374 project-meta make-licence375 376 project-meta make-copyright 376 project-meta make-licence 377 project-meta list-licence 377 378 378 379 379 =head1 DESCRIPTION … … 386 386 This YAML file must exist in your root projet folder. 387 387 See L</METAFILE SPECIFICATION>. 388 388 389 389 390 =head1 COMMANDS … … 400 401 Check your F<PROJECT-META.yml> has the good key. 401 402 If your metafile is not a valid YAML file, 402 you can use C<yamllint> commandto check just it's format.403 you can use C<yamllint> or C<ysh> commands to check just it's format. 403 404 404 405 =head2 make-link … … 453 454 =back 454 455 456 =head2 list-licence 457 458 project-meta list-licence 459 460 Give the list of all the open data licence supported by the project-meta licence database. 461 At this time the possible licence are: 462 463 license-ouverte-v2.0 464 open-database-license-v1.0 465 466 Note that these licences are dedicated to open data. 467 Please do not use open licence that have been written for code or documentation for data. 468 455 469 =head2 make-licence 456 470 … … 463 477 The list of possible licence is given with the command L</list-licence>. 464 478 465 =head2 list-licence466 467 project-meta list-licence468 469 Give the list of all the open data licence supported by the project-meta licence database.470 At this time the possible licence are:471 472 license-ouverte-v2.0473 open-database-license-v1.0474 475 Note that these licences are dedicated to open data.476 Please do not use open licence that have been written for code or documentation for data.477 478 479 =head2 make-author 479 480 … … 504 505 - not really check keys and tags before doing action! 505 506 507 506 508 =head1 SEE ALSO 507 509 508 yamllint 510 yamllint(1), ysh(1) 511 512 In Debian, package for C<yamllint> and C<ysh> are 513 514 =over 515 516 =item * C<yamllint> - Linter for YAML files (Python) 517 518 =item * C<libyaml-shell-perl> - YAML test shell (Perl) 519 520 =back 509 521 510 522 … … 512 524 513 525 Written by Gabriel Moreau, LEGI UMR5519, CNRS, Grenoble - France 526 514 527 515 528 =head1 SPECIAL THANKS
Note: See TracChangeset
for help on using the changeset viewer.