Changes between Initial Version and Version 6 of Ticket #11143


Ignore:
Timestamp:
Nov 18, 2007, 9:15:20 PM (16 years ago)
Author:
jmpp@…
Comment:

I was looking into what I thought was a related bug but came up empty handed. I've found that in order to successfully force some steps a clean action is necessary in advance (to remove the state file, as indeed we seem to respect it a tad too much). So maybe we could refocus this bug on that, deciding when we should respect the state file and when to ignore it, if forcing is requested?

Other than that, forcing does work if there's no state file (as said, if the work dir is pruned by cleaning).

-jmpp

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #11143

    • Property Priority changed from Nice to have to Low
    • Property Component changed from infrastructure to base
    • Property Milestone changed from to MacPorts base bugs
  • Ticket #11143 – Description

    initial v6  
    1414--->  Staging nmap into destroot
    1515--->  Packaging tgz archive for nmap 4.20_0+gtk2
     16
    1617~# ls -l /opt/local/var/db/dports/packages/darwin/powerpc/nmap-4.20_0+gtk2.powerpc.tgz
    1718-rw-rw----   1 root  wheel  680569 Dec 12 18:54 /opt/local/var/db/dports/packages/darwin/powerpc/nmap-4.20_0+gtk2.powerpc.tgz
     19
    1820~# cat /opt/local/var/db/dports/build/_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dports_net_nmap/work/.darwinports.nmap.state
    1921variant: +gtk2
     
    2729target: com.apple.destroot
    2830target: com.apple.archive
     31
    2932~# port -f archive nmap +gtk2
     33
    3034~# ls -l /opt/local/var/db/dports/packages/darwin/powerpc/nmap-4.20_0+gtk2.powerpc.tgz
    3135-rw-rw----   1 root  wheel  680569 Dec 12 18:54 /opt/local/var/db/dports/packages/darwin/powerpc/nmap-4.20_0+gtk2.powerpc.tgz
     36
    3237~# port -df archive nmap +gtk2
    3338DEBUG: Found port in file:///opt/local/var/db/dports/sources/rsync.rsync.darwinports.org_dpupdate_dports/net/nmap
     
    6772DEBUG: Skipping completed com.apple.destroot (nmap)
    6873DEBUG: Skipping completed com.apple.archive (nmap)
     74
    6975~#
    7076}}}
     
    8490Summary:
    8591When I run `port -f archive foo`, I expect the archive step to happen regardless of the state file.  If the state file says the archive is already built, nothing happens.
     92