Changeset 2266


Ignore:
Timestamp:
Aug 30, 2017, 5:07:47 PM (3 weeks ago)
Author:
bruno
Message:

conf_update_v0 now adds to VCS the file generated

Location:
devel
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • devel/pb-modules/lib/ProjectBuilder/Conf.pm

    r2264 r2266  
    1919use ProjectBuilder::Base;
    2020use ProjectBuilder::Version;
    21 #use YAML;
     21use ProjectBuilder::VCS;
    2222
    2323# Inherit from the "Exporter" module which handles exporting functions.
     
    594594close(ORIG);
    595595close(DEST);
     596# Adding this new file to VCS (not removing the previous one)
     597my ($pburl) = pb_conf_get("pburl");
     598my ($scheme, $account, $host, $port, $path) = pb_get_uri($pburl->{$ENV{'PBPROJ'}});
     599pb_vcs_add_if_not_in($scheme,$dest);
    596600return();
    597601}
  • devel/pb/lib/ProjectBuilder/Filter.pm

    r2263 r2266  
    9696        $fyml =~ s/\.pbf/.yml/;
    9797        pb_conf_update_v0($f,$fyml);
    98         my ($pburl) = pb_conf_get("pburl");
    99         my ($scheme, $account, $host, $port, $path) = pb_get_uri($pburl->{$ENV{'PBPROJ'}});
    100         pb_vcs_add_if_not_in($scheme,$fyml);
    10198        push(@ffiles, $fyml);
    10299    }
Note: See TracChangeset for help on using the changeset viewer.